Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html xmlns = "http://www.w3.org/1999/xhtml">
- <head>
- <title>Counter-Controlled Repetition</title>
- <script type = "text/javascript">
- <!--
- // Initialization, repetition condition and
- // incrementing are all included in the for
- // statement header.
- for ( var counter = 1; counter <= 7; ++counter )
- document.writeln( "<p style = \"font-size: " +
- counter + "ex\">XHTML font size " + counter +
- "ex</p>" );
- // -->
- </script>
- </head><body></body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement