【创建图像映射】

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <title>创建图像映射</title>
</head>
<body>
<img src="../images/guojihua.jpg" width="400" height="147" usemap="#Map" border="0">
<map name="Map">
    <area shape="rect" coords="18,38,123,104" href="https://www.baidu.com" target="_blank" alt="矩形定义">
    <area shape="circle" coords="204,69,41" href="https://www.mafangshan.com" target="_blank" alt="圆形定义">
    <area shape="poly" coords="285,17,344,9,380,58,329,106,273,56" href="https://www.58.com" target="_blank" alt="多边形定义">
</map>
</body>
</html>

图像映射就是将一幅图片划分出若干个链接区域,访问者点击不同的区域会链接到不同的目标网页。

 
终身学习者
原文地址:https://www.cnblogs.com/zuixinxian/p/4964219.html