带有可点击区域的map图像映射

如果需要规定一个不规则点击区域可用map图像映射

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>map图像映射</title>
</head>

<body>
<img src="3.jpg" border="0" usemap="#picmap" alt="" />
<map id="picmap" name="picmap">
<area shape="circle" coords="20,20,20" href="http://www.baidu.com" target="_blank" alt="123" />
 <area shape="poly" coords="30,0,30,100,80,100" href="http://www.baidu.com" target="_blank" alt="456" />
</map>
</body>
</html>

  

posted on 2017-05-14 16:19  vivayue  阅读(215)  评论(0编辑  收藏  举报

导航