Link in <IMG> tag verses Link in <MAP> tag

liunx

Guest
Hi guys and gals,<br />
Just curious about this one...<br />
<br />
What's the difference between implementing a link in an image tag verses implementing a link in an image map tag.<br />
<br />
Does it make a difference?<br />
<br />
Pros and Cons?<br />
<br />
Thanks<!--content-->If an image in an anchor will do then an image map is a waste of time and bandwidth.<!--content-->Use a link in a <map> tag if your image contains several areas that should link to something. In that case you'll have to add the coordinates of the link areas. If your image is just one link, simply use the <img> tag.<img src=http://www.webdeveloper.com/forum/archive/index.php/"YourImage.gif" border="0" usemap="#Links"><br />
<map name="Links"><br />
<area shape="rect" coords="0,0,52,10" href=http://www.webdeveloper.com/forum/archive/index.php/"Page01.htm"><br />
<area shape="rect" coords="54,0,120,10" href=http://www.webdeveloper.com/forum/archive/index.php/"Page02.htm"><br />
</map>Cheers, Jochem :cool:<!--content-->
 
Back
Top