Easy Tutorial
❮ Tag Link Att Embed Height ❯

HTML <object> usemap Attribute

HTML <object> Tag

Example

An <object> element using an image map:


Browser Support

Except for Chrome and Safari, other major browsers support the usemap attribute.


Definition and Usage

The usemap attribute specifies the name of an image map to be used with the object.

An image map is an image with clickable areas.

The usemap attribute is associated with the name attribute of the <map> element, creating a relationship between the object and the map.


Differences Between HTML 4.01 and HTML5

None.


Syntax

Attribute Values

Value Description
#mapname A hash ("#") followed by the name of the map element to be used.

❮ Tag Link Att Embed Height ❯