Language References
Specifies the language that the current script is written in.
Inline |
<script LANGUAGE = 'JScript' | 'javascript' | 'vbs' | 'vbscript' | 'XML'| sLanguage |
Script |
[ sLanguage = ] object.language |
JScript |
Specifies the language as JScript® ( compatible with ECMA-262 language specification ). |
javascript |
Specifies that the script is written in JavaScript. |
vbs |
Specifies the language as VBScript. |
vbscript |
Specifies that the script is written in VBScript. |
XML |
Specifies that the script is written in XML. |
sLanguage |
String representing a browser-supported language. |
The property is read-only with no default value.
The property can refer to any scripting language. Microsoft® Internet Explorer® 4.0 ships with JScript®, and VBScript scripting engines.
In Internet Explorer, the default scripting engine is JScript.
In Internet Explorer® 5, the language attribute of the SCRIPT element can be set to XML.