Introduction:
The HTML
area
tag is used for defining an area in an image map.This tag is used in conjunction with the <map>
tag and <img>
tag to create an image map.
Example:
<html> <head>
<title>HTML area Tag</title>
</head> <body> <img src ="your image here" width="225" height="151" border="0" alt="Mueller Hut, Mount Cook, and I" usemap ="#muellermap" /> <map id ="muellermap" name="muellermap"> <area shape ="rect" coords ="90,80,120,151" href ="javascript:alert('Me');" alt="Me" /> <area shape ="poly" coords ="55,55,120,80,90,80,90,100,70,100,20,80,55,55" href ="http://en.wikipedia.org/wiki/Mount_Cook" target="_blank" alt="Mount Cook" /> <area shape ="poly" coords ="145,80,145,100,215,90,215,80,180,60,145,80" href ="http://www.gohilinfotech.blogspot.in/" alt="Mueller Hut" /> </map> </applet> </body> </html>
0 comments :
Post a Comment