<html><head><title>My HTML Tester</title>
</head><body><script language="JavaScript">
function preview() {
temp = document.tester.box.value;
preWindow = open("",
"preWindow"," menubar=yes, scrollbars=yes");
preWindow.document.open();
preWindow.document.write(temp);
preWindow.document.close();
};
</script><center><table bgcolor="#3366cc" border="10" cellpadding="5" cellspacing="0">
<tr><td align="left" bgcolor="gray"><form name="tester">
<textarea rows="22" cols="70" wrap="physical" name="box"></textarea>
<p><input type="button" value="Test The Code" onClick="preview()">
<input type="reset" value="Reset"></td></tr></table>
</form></center></body></html>
Don't copy this or the link
Return to Lesson 7