This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

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