w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it

area hreflang attribute

The hreflang attribute on the area element:

Warning: hreflang attribute can be used only if href attribute is present on area element.


<areaattribute="value(s)" >Examples
5.hreflang=language code<area href="region1.php" alt="region 1" hreflang="fr">

Video demonstration area hreflang attribute

HTML5 area hreflang attribute Tutorial

min video details
00:00 video tutorial: hreflang attribute on area element
00:07 hreflang attribute on area element allows you to specify the language of the resource the href attribute holds
00:13 checking the language of the css.php file: it's English
00:28 adding the hreflang attribute to area element
00:33 adding the corresponding language code: en for English
00:39 no change in display,this information is purely advisory
area intro area browser display area parents area coordinates for shapes area syntaxarea href alt attributesarea coords attributearea download attributearea rel attributearea shape attributearea target attributearea type attribute