HTML <object> usemap Attribute

❮ HTML <object> tag

Example

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

Attribute
usemap Not supported Not supported Yes Not supported Not supported

Syntax

<object usemap="#mapname">

Attribute Values

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

❮ HTML <object> tag
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.