Home › Forums › YWN Main Site & Coffee Room Issues › The Laboratory II – Try Your HTML & ASCII Art Experiments Here › Reply To: The Laboratory II – Try Your HTML & ASCII Art Experiments Here
February 3, 2009 4:36 am at 4:36 am
#1053407
I can only try
Member
Here’s quick-and-dirty HTML that you can use to test your simple code.
Cut and paste everything below, and save it as file “Tester.htm” on your computer’s desktop.
You can then use it to try simple experiments (fonts, URLs, colors, etc.)
<html>
<head>
<title>HTML Tester</title>
<SCRIPT LANGUAGE="JavaScript">
function showhtml(){
/* alert(form1.htmlcode.value);
div1.style.borderWidth='44px'; */
div1.innerHTML = form1.htmlcode.value;
}
</SCRIPT>
</head>
<body>
<form id=form1>
<p>Enter some HTML code here, then click DISPLAY to see it rendered
<br />
<input type="button" value=" DISPLAY " onClick="showhtml()">
<br />
<textarea name="htmlcode" rows=12 cols=100>
<blockquote> this is a blockquote </blockquote>
<a href=http://www.theyeshivaworld.com/coffeeroom/topic/the-laboratory-try-your-html-formatting-experiments-here>Original HTML Lab</a>
<br />
<br />
<font face="courier new", color="red"><U>Red Underlined Text<U></font>
<br />
<ul>
<li Type="Square">red
<li Type="Circle">orange
<li Type="Disc">yellow
</ul>
<ol>
<li>red
<li>orange
<li>yellow
</ol>
</textarea><br />
</form>
<p>
<font face="times new roman" size="6">Your results below:</font>
<DIV ID=div1 style="border: blue 4px double;"> Your results will appear here
</DIV>
</body>
</html>