hreflang
Applies to | ? |
---|
Examples
In the a element in the following example, the HREFLANG attribute specifies the language code of the U.S. version of English.
<A HREF="http://example.microsoft.com/..." HREFLANG="en-US">anchor text</A>
Notes
Remarks
You must set the value of this property before you can retrieve it. Language codes identify natural languages that are spoken, written, or otherwise used for the communication of information among people, and are defined and explained in Internet-Draft: BCP 47. Computer languages are explicitly excluded from language codes.
hreflang was introduced in Microsoft Internet Explorer 6
Syntax
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
See also
Related pages
- aa
link
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]