Html Editor

[Total: 0    Average: 0/5]

You can use this if you don’t have an online editor,or if you wanna work offline to test your html and java scripts.(it looks cool too)

Head Code:

<script language="JavaScript">
<!-- Hide Script From Old Browsers
/*
barroom hero (wino@antisocial.com)
*/
function preview(){
  {
  temp = document.script.tester.value;
  testwin= open("", "testwin","status=no,scrollbars=yes,menubar=yes,toolbar=no");
  testwin.document.open();
  testwin.document.write(temp);
  testwin.document.close();
 }
}
//End hiding-->
</script>
<style type="text/css">
body { scrollbar-face-color:000000;
           scrollbar-base-color:666666;
           scrollbar-dark-shadow-color:666666;
           scrollbar-highlight-color:999999;}
</style> 

Body Code:

<body bgcolor=<"#999999">
<form name="script">
<center><textarea name="tester" rows="25" cols="65"
wrap="on" style="font-weight: normal; background-color: black; color: ffffff; border-style:dotted; font-family: verdana; BORDER-BOTTOM: 0px solid; BORDER-LEFT: 0px solid; BORDER-RIGHT: 0px solid; BORDER-TOP: 0px solid;"></textarea></center>
<br>
<center>
<input type="button" value=" Preview " onClick="preview()">&nbsp;&nbsp;
<input type="reset" value="Clear">&nbsp;&nbsp;
</center>
</form>

Times Viewed: 1

Leave a Reply

Your email address will not be published. Required fields are marked *