Latest

recent

HTML a hreflang Attribute

Example

The hreflang attribute specifies the language of the document in the link:
<a href="http://www.1000sourcecodes.com" hreflang="en">1000sourcecodes</a>

Definition and Usage

The hreflang attribute specifies the language of the document in the target URL.

Syntax

<a hreflang="language_code">

Syntax Example

<a hreflang="en">

Attribute Values

Value Description
language_code A two-letter language code that specifies the language of the document in the target URL.
HTML a hreflang Attribute Reviewed by 1000sourcecodes on 09:32 Rating: 5
Powered by Blogger.