给图像添加热点

usemap 是为了给图像加热点,所谓图像热点就是定义图像上的一小块区域使其变成一个独立的超链接具体demo如下

 

<img src="web/images/index_weixin.gif" border="0" usemap="#Map"/>

<map  id="Map">

    <area href="#" shape="rect" coords="6,39,95,157" target="_blank"/>

</map>

  

posted @ 2014-03-24 16:34  风语9  阅读(175)  评论(0编辑  收藏  举报