Please send questions to
st10@humboldt.edu .
<html>
<!--
js_for1.html
Playing with a JavaScript for statement
adapted from example in:
http://www.w3schools.com/js/tryit.asp?filename=tryjs_fornext_header
a JavaScript tutorial from w3schools.com
adapted by: Sharon Tuttle
last modified: 8-27-06
-->
<head>
<title> js_for1.html: Playing with a JavaScript for statement </title>
</head>
<body>
<h3> js_for1.html </h3>
<h3> ADAPTED from example in: <br>
http://www.w3schools.com/js/tryit.asp?filename=tryjs_fornext_header,
<br>
part of a JavaScript tutorial from w3schools.com <h3>
<h4> (adapted by Sharon Tuttle, last modified 8-27-06) </h4>
<hr>
<script type="text/javascript">
<!--
for (var i = 1; i <= 6; i++)
{
document.write("<h" + i + ">This is header " + i)
document.write("</h" + i + ">")
}
//-->
</script>
<noscript>
<hr>
<h3> Your browser does not support JavaScript, or has it disabled; <br>
please note that, as a result, this page will not work. </h3>
<hr>
</noscript>
<hr>
</body>
</html>