第三天,html5之img map area

<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta charset="utf-8"  />
    </head>
    <body>
		<img src="picture/pkq.jpg" width="200" height="200" alt="皮卡丘" usemap="#test"/>
		<map id="test" name="test">
			<area shape="rect" coords="0,0,200,200" href="https://www.baidu.com/" alt="百度" title="百度首页" target="_blank">
		</map>
    </body>
</html>

<img><map><area>简单用法

猜你喜欢

转载自blog.csdn.net/qq_38006520/article/details/80964877