<html> <head> <title>Hello World 3</title> </head> <body id="monBody"></body> <script type="text/javascript"> var monH1=document.createElement("h1"); monH1.innerHTML="Hello World"; document.getElementById("monBody").appendChild(monH1); </script></html>