Image Maps In Html
Image Maps In Html :
Image maps is a
process of defining different areas like circle,rectangle ,polygon etc. on an
image on each area points to a web resource. An image can be applied to an
image using the usemap attribute of img tag.
Eg:
<html>
<body>
<img
src=”path” width =”145” height=”126” usemap=”#planetmap”>
<map
name=”planetmap”>
<area
shape=”rect” cords=”0,0,82,126” href=”sun.html”/>
<area shape
=”circle” cords =”90,58,3” title=”mercury” href=”mercury.htm”/>
<area
shape=”circle” cords=”124,58,8” title=”venus” href=”venus.html”/>
</map>
</body>
</html>
0 comments:
Post a Comment