![]() |
Definition and Usage
The Note: This attribute is purely advisory. Applies to
The
Browser Support
The
|
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The a hreflang attribute</h1>
<p><a hreflang="en" href="https://horje.com">Horje.com</a></p>
</body>
</html>
Example:
HTML
<img src="https://horje.com/avatar.png" width="145" height="126" alt="Planets" usemap="#planetmap">
<map name="planetmap"> <area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm" hreflang="en">
</map>
Example:
HTML
<link href="tag_link.asp" rel="parent" rev="subsection" hreflang="en">
html hreflang attribute |
How to add The hreflang attribute specifies the language of the document in the link | HTML Attribute |
How to add An image map, with clickable areas - HTML hreflang | HTML Attribute |
How to add the hreflang attribute indicates that the linked document is in English | HTML Attribute |
Type
: |
Develop |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Attribute |
Uploaded by
: |
Admin |
Read Article https://horje.com/learn/1434/reference