Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Specifies the language that the current script is written in.
Syntax
HTML LANGUAGE = "JScript" | "javascript" | "vbs" | "vbscript" | "XML"| sLanguage Scripting [ 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 LANGUAGEattribute of the SCRIPT element can be set to XML.
Applies To
A, ACRONYM, ADDRESS, APPLET, AREA, B, BDO, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, Hn, HR, HTMLAREA, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, NEXTID, NOBR, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, RB, RT, RUBY, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.