This will show you how to write a simple HTML page that displays "Hello World!"
Code:
<html>
<body>
<script language=javascript>
//says the language is javascript
document.write("Hello World!"); //prints Hello World!
//stop JavaScript Code
</script>
</body>
</html>