javascript OBJECT Lang

langNN 6 IE 4 DOM 1  

Read/Write  

Indicates the written language being used for the element's attribute and property values. Other applications and search engines might use this information to aid selection of spellchecking dictionaries and creating indices.

 
Example
 
document.getElementById("elementID").lang = "de";
 
Value

Case-insensitive language code.

 
Default

Browser default.


1385,Nickname,Homepage or email,Comments here,Add comment