JavaScript Tutorial/Language Basics/SCRIPT Tag
<SCRIPT> tags
<Script> tells the browser that everything between <SCRIPT> and </SCRIPT> should be interpreted by the interpreter specified in the LANGUAGE attribute.
The browser interprets the code between the <SCRIPT> tags based on the LANGUAGE attribute.
For example, <SCRIPT LANGUAGE="JavaScript">.
It is also possible to force the interpreter to use different versions of JavaScript <SCRIPT LANGUAGE="JavaScript1.2">.
1. 4. SCRIPT Tag 1. 4. 1. <SCRIPT> tags 1. 4. 2. <A href="/Tutorial/JavaScript/0020__Language-Basics/ThenoscriptTag.htm">The <noscript/> Tag</a>
The <noscript/> Tag
<source lang="javascript">
Any browser that doesn"t support JavaScript or has it disabled renders the content of <noscript/>. <html>
<head> <title>Title of Page</title> <script language="JavaScript"> function sayHi() { alert("Hi"); } </script> </head> <body> <script language="JavaScript"> sayHi(); </script> <noscript>
Your browser doesn"t support JavaScript. If it did support JavaScript, you would see this message: Hi!
</noscript>
After noscript.
</body>
</html></source>