JavaScript Tutorial - 1 - answer to Task 2
<html> <head> <title>Hello World 50 times</title> </head> <body> <script> for (var n=1; n<51; n++) { document.write("<b>") document.write(n) document.write("</b>") document.write("<h1>Hello World</h1>") } </script> </body> </html> 1

Hello World

...

50

Hello World

HOME Table of Contents