X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <object> usemap Attribute

HTML object Tag Reference 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 Yes Yes Not supported Not supported


Differences Between HTML 4.01 and HTML5

NONE.


Syntax

<object usemap="#mapname">

Attribute Values

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


HTML object Tag Reference HTML <object> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook