<html> <body> <script type="text/vbscript"> for i=1 to 6 document.write("<h" & i & ">This is header " & i & "</h" & i & ">") next </script> </body> </html>
Your Result:
Edit the code above and click to see the result.
W3Schools.com
- Try it yourself