Adding JavaScript to a Web Page part 2

JavaScript in <body>



Alternatively, include the JavaScript in the <body> tag.<html>
<head> </head>
<body>
<script>
</script>

</body>
</html>

It's a good idea to place scripts at the bottom of the <body> element.
This can improve page load, because HTML display is not blocked by scripts loading.

Where else is the "script" tag typically placed?

Inside the table element
Inside the form element
Inside the BODY tag ans

Comments

Popular posts from this blog

Introducing object part 3

Comparison Operators part 2

Module 2