JavaScript Tutorial - Hello World
In this tutorial, we’re going to do a simple Hello World program in JavaScript as the starting point of our JavaScript tutorial. JavaScript Hello World <!DOCTYPE HTML> <html> <body> <p>JavaScript Tutorial</p> <script> alert( 'Hello, world!' ); </script> </body> </html> <script> alert( 'Hello, world!' ); </script> When we embed JavaScript in a web page, we always have to embed it within the script tags <script>...</script>. alert('Hello, world!'); It is simply an alert with information Hello World!