English

Image Map in HTML5

Advertisements
  1. ‹img›
  2. ‹map›
  3. ‹area›

Image map in HTML 5

An image with multiple hyperlinks is called an image map. Image map is used to connect links to different regions on the webpage. An Image map is created by marking certain regions on an image clickable. 

<Img> Tag: 

It is used to insert an image on a web page. To create a client-side image map usemap attribute of is used with value which is preceded with a # symbol. 

<map> Tag 

It has only one attribute name. It specifies name of the image used for client side image map. 

<area> Tag 

It defines specific clickable regions. A given <map> element can contain multiple <area> element within it. <area> is singular tag and <map> is paired. 

If you would like to contribute notes or other learning material, please submit them using the button below.
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×