<script language="JavaScript">function NOTEXT(){
document.Add.write.value += ("")
}
function prom(){
cod1=prompt('کد اول را وارد نمایید','');
cod2=prompt('کد دوم را وارد نمایید','');
document.Add.write.value += cod1 + cod2;
}
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>