How to Integrating JavaScript with HTML.
JavaScripts are collections of programming statements that you embed in HTML documents by placing them within the <SCRIPT> and </SCRIPT> tags. These tags can be placed within either the head or body section of an HTML page. Figure 1.3 outlines the syntax that you must follow when using these tags in an HTML page.
Syntax of the <SCRIPT> and </SCRIPT> tags when used with JavaScript.
Several arguments can be included within the first <SCRIPT> tag. The LANGUAGE attribute specifies the version of JavaScript you want to use.
Here are your available options:
LANGUAGE=”JavaScript”
LANGUAGE=”JavaScript1.1″
LANGUAGE=”JavaScript1.2″
LANGUAGE=”JavaScript1.3″
LANGUAGE=”JavaScript1.5″