15.html热点测试

来源:互联网 发布:企业网站关键词优化 编辑:程序博客网 时间:2024/05/18 13:43
热点测试
    <img src="image/1.jpg" border="0" usemap="#planetmap" alt="Planets" border="0" />
    <map name="planetmap" id="planetmap">
      <area shape="circle" coords="180,139,14" href ="a.html" style="cursor: pointer" alt="Venus" />
      <area shape="circle" coords="129,161,10" href ="b.html" alt="Mercury" />
      <area shape="rect" coords="0,0,110,260" href ="c.html" alt="Sun" />
        <!--    属性值                值描述
            x1,y1,x2,y2        如果 shape 属性设置为 "rect",则该值规定矩形左上角和右下角的坐标。
            x,y,radius        如果 shape 属性设置为 "circ",则该值规定圆心的坐标和半径。
            x1,y1,x2,y2,..,xn,yn        如果 shape 属性设置为 "poly",则该值规定多边形各边的坐标。如果第一个坐标和最后一个坐标不一致,那么为了关闭多边形,浏览器必须添加最后一对坐标。-->

    </map>

1 0