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 | |
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