Javascript Reference
Categories: LINK

javascript LINK hreflang

@March 15, 2008, 1:22 a.m.
hreflangFirefox/Netscape/NN 6 IE 6 Chrome/Safari/DOM 1  

Read/Write  

Specifies the language code of the content at the destination of a link. Requires that the href attribute or property also be set.

 
Example
 
document.getElementById("myLink").hreflang = "DE";
 
Value

Case-insensitive language code.

 
Default

None.


Powered by Linode.