X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET 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 »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The usemap attribute is supported in all major browsers, except Chrome and Safari.


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.


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