language property
Sets or retrieves the language in which the current script is written.
Note This has been superceded by the type attribute for the script element. If you are using javascript alone, you don't need to specify a type or language with the script element.
Syntax
HRESULT value = object.put_language( v);HRESULT value = object.get_language(* p);
Property values
Type: BSTR
-
Language is JScript.
-
Script is JavaScript.
-
Language is VBScript. No longer supported.
-
Script is VBScript. No longer supported.
-
Script is XML.
-
Browser-supported language.
Standards information
- HTML 4.01 Specification, Section 18.2.1 (Deprecated)
Remarks
The IHTMLElement::language property can refer to any scripting language.
In Windows Internet Explorer, the default scripting engine is JavaScript.
Show: