What is the importance of <SCRIPT> tag?

Submitted by: Administrator
► JavaScript is used inside <SCRIPT> tag in HTML document. The tags that are provided the necessary information like alert to the browser for the program to begin interpreting all the text between the tags.
► The <script> tag uses JavaScript interpreter to handle the libraries that are written or the code of the program.
► JavaScript is a case sensitive language and the tags are used to tell the browser that if it is JavaScript enabled to use the text written in between the <Script> and </Script> tags.
► The example is given as:

<HTML>
<HEAD>
<!--
<SCRIPT> // Starting of the scripting language
//Your code here
</SCRIPT> --> // End of the scripting language
</HEAD>
<BODY>
// your code here
</BODY>
</HTML>
Submitted by:

Read Online Expert Developer JavaScript Job Interview Questions And Answers