<script language="JavaScript">function NOTEXT(){
document.Add.write.value += ("")
}
function prom(){
cod=prompt('کدرا وارد کنید','');
document.Add.write.value += cod;
}
function html(){
if(html ==''){
NOTEXT()
}
else{
document.Add.write.value += ("<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<title> +html5+ </title>\n</head>\n\n<body>\n\n</body>\n</html>")
}
}
</script>
<style>
body {
direction: rtl;
}
</style>
<CENTER>
<form method="post" action="" name="TABLE">
<input title="کدهای پیش نیاز html" type="button" value="کدهای پیش نیاز html" onClick="html()">
<button onclick="prom();return false;">کلیک</button>
</form>
<form name="Add">
<textarea style="direction: ltr;" name="write" rows=15 cols=80 wrap="phisical"></textarea>
</form>
</center>