<p id="demo"></p> <script type="text/javascript"> document.getElementById("demo").innerHTML = "Hello JavaScript!"; </script>