4 out of 7 rated this helpful - Rate this topic

language attribute | language property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the language in which the current script is written.

Syntax

HTML<element language="p" ... >
JavaScript

p = object.language

Property values

Type: String

JScript

Language is JScript.

javascript

Script is JavaScript.

vbs

Language is VBScript.

vbscript

Script is VBScript.

XML

Script is XML.

language

Browser-supported language.

Standards information

Remarks

The language property can refer to any scripting language.

In Windows Internet Explorer, the default scripting engine is JScript.

Microsoft Internet Explorer 4.0 ships with scripting engines for JScript and VBScript.

In Microsoft Internet Explorer 5, the LANGUAGE attribute of the script element can be set to XML.

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ