0 out of 4 rated this helpful - Rate this topic

lang attribute | lang property

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

Sets or retrieves the language to use.

Syntax

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

p = object.lang

Property values

Type: String

an ISO standard language abbreviation.

Remarks

The parser uses this property to determine how to display language-specific choices for quotations, numbers, and so on.

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
And HTML element
By HTML 4.01, the property LANG should apply to the element HTML as well.
An unrecognized language code is ignored.