This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

hreflang

Applies to ?
Internationalization topics related to the `hreflang` attribute:

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

See also

Related pages

  • aa
  • link

Attributions