Horje

What is HTML <object> usemap Attribute

The useMap property on the HTMLImageElement interface reflects the value of the HTML usemap attribute, which is a string providing the name of the client-side image map to apply to the image.

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

Syntax

<object usemap="#mapname">

Attribute Values

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




Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin