Tutorials References Exercises Bootcamps Videos Menu
Sign Up Create Website Get Certified Upgrade

HTML <object> usemap Attribute

❮ HTML <object> tag


An <object> element using an image map:

<object data="planets.gif" width="145" height="126" usemap="#planetmap"></object>
Try it Yourself »

Definition and Usage

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

An image map is an image with clickable areas.

The usemap attribute is associated with a <map> element's name attribute, and creates a relationship between the object and the map.

Browser Support

usemap Not supported Not supported Yes Not supported Not supported


<object usemap="#mapname">

Attribute Values

Value Description
#mapname A hash character ("#") plus the name of the map element to use

❮ HTML <object> tag