Logo
  Sunday, May 20, 2012
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

HTML5 Tutorial FeedBurner

The HTML5 <map> Tag  
If it is necessary to put a client-side image map within the HTML document, the HTML5 <map> tag has to be utilized. The image map is an image that can be clicked by the users in some areas to be able to get redirected to another web page.

The attribute for the name of the HTML5 <map> tag has to be directly associated to the usemap attribute of the <img> tag. Hence, the HTML5 <map> tag and <img> element should go hand in hand.

The only difference when using the <map> tag in HMTL5 and in HTML4.01 is that in HTML5, it is necessary to ensure that the id attribute for the map is specifically indicated. The id attribute has to have the same value as the name attribute.

There is no problem when using the HTML <map> tag for Global Attributes and Events Attributes in HTML5. It is compatible with all these attributes. Even the major browsers like Safari, Opera, Firefox, Google Chrome and Internet Explorer can easily identify the function of HTML <map> tag.

The attribute for the HTML5 <map> tag is below

Attribute

Value

Description

name

mapname

This is required when using the HTML5 <map> tag. It is the key in providing a name for the image map

Print HTML5 <map> Tag Bookmark HTML5 <map> Tag

Related Articles  
The HTML5 <dfn> Tag
The HTML5 <dfn> tag is useful when it is necessary for the author to provide a definition of a term.
The HTML5 <dt> Tag
The HTML5 <dt> tag is an important addition in any HTML document particularly when further terminology definition ...
The HTML5 <acronym> Tag
The HTML5 <acronym> Tag is not supported in HTML5. It is originally used for HTML4.01 to define the acronyms.
The HTML5 <frame> Tag
The HTML <frame> tag is not supported in HTML5. Before the use of HTML5, the HTML <frame> tag is utilized ...
The HTML5 <small> Tag
If there are smaller texts and side comments that have to be placed in the HTML document, the HTML5 <small> tag ...
The HTML5 <bdo> Tag
The HTML5 <bdo> tag is a formatting element which is used to override the current text direction. It is used to ...
More