programming-examples/css/Area Element - clickable area on a graphic or image.html

18 lines
619 B
HTML
Raw Permalink Normal View History

2019-11-15 12:59:38 +01:00
<html>
<head>
<title>Area Element Example</title>
</head>
<body>
<img src="http://www.happycodings.com/images/happy.gif"
alt=""
width="200"
height="120"
usemap="#myMap">
<map name="myMap">
<area shape="rect" coords="0, 0, 8, 50" href="http://www.happycodings.com">
<area shape="rect" coords="120, 0, 24, 50" href="http://www.happycodings.com">
<area shape="rect" coords="0, 40, 10, 25" href="http://www.happycodings.com">
<area shape="rect" coords="10, 25, 18, 16" href="http://www.happycodings.com">
</map>
</body>
</html>