Figure 1


Including a VBScript in an HTML page.

<HTML>
<HEAD>
<TITLE>Head levels via 
scripting</TITLE>
</HEAD>
<BODY>
<SCRIPT LANGUAGE="VBScript">
<!--
For I = 1 to 6
  BeginHead = "<H" & I & ">"
  EndHead = "</H" & I & ">"
  Document.Write BeginHead &
"This is a level " 
_& I & EndHead
Next
-->
</SCRIPT>
</BODY>
</HTML>