w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it

area type attribute

The type attribute on the area element:

MIME types Examples for different resources:

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


<areaattribute="value(s)" >Examples
9.type=MIME type<area href="area1.php" alt="area 1" type="text⁄html">

Video demonstration area type attribute

HTML5 area type attribute Tutorial

min video details
00:00 video tutorial: type attribute on area element
00:08 type attribute on area element allows you to specify the media type (MIME) for the linked resource
00:13 in our case, for our linked resource:
css.php (.html format)
00:13 the MIME type is: text/html
00:29 no change in display,
specifying the MIME type is useful for user agents
area intro area browser display area parents area coordinates for shapes area syntaxarea href alt attributesarea coords attributearea download attributearea hreflang attributearea rel attributearea shape attributearea target attribute