HTML object usemap property
Examples
Use image maps <object> element:
<object data="planets.gif" width="145" height="126" usemap="#planetmap"></object>
try it"
Browser Support
In addition to Chrome and Safari, the other major browsers support usemap property.
Definition and Usage
Name attribute specifies the image map usemap used together with the object.
Image map is an image with clickable areas.
usemap attribute <Map> name attribute of the element associated with, create a relationship between the object and the mapping.
Differences between HTML 4.01 and HTML5
no.
grammar
<object usemap=" #mapname ">
Property Value
值 | 描述 |
---|---|
#mapname | 井号("#")加上要使用的 map 元素的名称。 |
HTML <object> tag