当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > HTML DOM useMap属性
The useMap property sets or returns the value of the usemap attribute of an image.
useMap属性可设置或返回图片usemap属性的值
imageObject.useMap=URL |
The following example prints the value of the usemap attribute of a client-side image map:
下面的举例将返回客户端热点图中usemap属性的值:
<html> <img id="planets" src="planets.gif" <map name="planetmap"> <p>The value of the usemap attribute= </body> |
Return the value of the usemap attribute of an image
返回图片的usemap属性值