Question:What are the purposes usemap attribute of <img> tag? 

Answer "usemap" attribute is used to map image associated with image tag. It's value followed by # sign. Other associated tag <map> is used to incorporate with usemap attribute value.

example:

<img src="pic.jpg" usemap="#map_image" />
<map name="map_image">
   <area shape="rect" coords="0,0,100,100" />
</map>

 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd.com\answers\column_answer_two.php on line 128
+ Report
Total Preview: 993
What are the purposes usemap attribute of <img> tag?
Copyright © 2024. Powered by Intellect Software Ltd