The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
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
| HTML | <element language="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
JScript
-
Language is JScript.
javascript
-
Script is JavaScript.
vbs
-
Language is VBScript. No longer supported.
vbscript
-
Script is VBScript. No longer supported.
XML
-
Script is XML.
language
-
Browser-supported language.
Standards information
- HTML 4.01 Specification, Section 18.2.1 (Deprecated)
Remarks
The language property can refer to any scripting language.
In Windows Internet Explorer, the default scripting engine is JavaScript.
See also
- a
- abbr
- acronym
- address
- applet
- area
- article
- aside
- b
- bdo
- big
- blockQuote
- body
- br
- button
- caption
- center
- cite
- code
- col
- colGroup
- custom
- dd
- del
- dfn
- dir
- div
- dl
- dt
- em
- embed
- fieldSet
- figcaption
- figure
- font
- footer
- form
- frame
- frameSet
- head
- header
- hgroup
- hn
- hr
- html
- 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
- mark
- marquee
- menu
- nav
- nextID
- noBR
- object
- ol
- optGroup
- option
- p
- plainText
- pre
- q
- rt
- ruby
- s
- samp
- section
- select
- small
- span
- strike
- strong
- sub
- sup
- table
- tBody
- td
- textArea
- tFoot
- th
- tHead
- tr
- tt
- u
- ul
- var
- xmp
Send comments about this topic to Microsoft
Build date: 11/28/2012