asp.net.ph

Skip Navigation Links

LANGUAGE Attribute | language Property

Language References


Specifies the language that the current script is written in.

Syntax


Inline <script LANGUAGE = 'JScript' | 'javascript' | 'vbs' | 'vbscript' | 'XML'| sLanguage
Script [ sLanguage = ] object.language

Possible Values


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.

Remarks

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.



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note