Windows Dev Center

language attribute | language property

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

JavaScript

Language is JavaScript.

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.

See also

a
abbr
address
area
article
aside
b
bdo
blockQuote
body
br
button
caption
cite
code
col
colGroup
custom
dd
del
div
dl
dt
em
embed
fieldSet
figcaption
figure
footer
form
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
kbd
label
legend
li
map
mark
nav
object
ol
optGroup
option
p
pre
q
rt
ruby
s
samp
section
select
small
span
strong
sub
sup
table
tBody
td
textArea
tFoot
th
tHead
tr
u
ul
var

 

 

Build date: 10/15/2012

Show:
© 2015 Microsoft