Adding JavaScript to a Web Page part 1

JavaScript in <head>



You can place any number of scripts in an HTML document.
Typically, the script tag is placed in the head of the HTML document:<html>
<head>
<script>
</script>

</head>
<body>
</body>
</html>

There is also a <noscript> tag. Its content will be shown if the client's browser doesn't support JS scripts.
Where is the "script" tag typically placed?

Inside the HEAD tag ans
Before the HTML tag
After the closing HTML tag

Comments

Popular posts from this blog

Introducing object part 3

Comparison Operators part 2

Module 2