There is only one JavaScript statement: document.writeln("<H1>Hello World!</H1>"); |
The writeln method writes its argument into the current document |
The script is in the <BODY> since it writes HTML code into the document; other scripts are written in the <HEAD> |
Scripts may be hidden from old browsers |