previous | start | next

SCRIPT

<SCRIPT
LANGUAGE=scripting language
</SCRIPT>

Specifies the inclusion of a script such as VBScript or JavaScript. The scripts themselves appear in the element's container. The end-tag is required.

LANGUAGE=scripting language
Indicates the ActiveX Scripting language in which the enclosed script was written. Examples of an ActiveX Scripting language are VBScript and JScript. Note: JScript is a brand name. For the LANGUAGE= attribute, it must always be written as JavaScript to be functional.

Authors often enclose the scripts in the SCRIPT element within the comment tag (<!-- ... -->). This prevents browsers which do not recognize the SCRIPT element from displaying the scripts as plain text in the browser.

Example

<SCRIPT>
<SCRIPT language="VBScript">
    '... Additional VBScript statements ... 
</SCRIPT>


previous | start | next

Comments: