Easy Tutorial
❮ Att Li Type Att Input Formenctype ❯

HTML <map> name Attribute

HTML <map> Tag

Example

An image map with clickable areas:


Browser Support

All major browsers support the name attribute.


Definition and Usage

The name attribute is required and specifies the name of the image map.

The name attribute is associated with the usemap attribute of the <img> tag to create a relationship between the image and the map.


Differences Between HTML 4.01 and HTML5

None.


Syntax

Attribute Values

Value Description
mapname The name of the image map.

❮ Att Li Type Att Input Formenctype ❯