<!DOCTYPE html> <html> <body> <h1>The script element</h1> <p id="demo"></p> <script> document.getElementById("demo").innerHTML = "Hello JavaScript!"; </script> </body> </html>