JavaScript How To - 0 views
-
The HTML <script> tag is used to insert a JavaScript into an HTML page.
-
<script type="text/javascript"> document.write("Hello World!"); </script>
-
how to add HTML tags to the JavaScript: Example <html> <body> <script type="text/javascript"> document.write("<h1>Hello World!</h1>"); </script> </body> </html>
- ...4 more annotations...