Google News
logo
HTML5 - Interview Questions
What is image map in html5?
Image maps are a combination of URL and images, where clicking on these images (clickable area of the image) will open different new web pages.
 
Two types of image maps are available in HTML5, i.e. client side image map and server side image map :
 
The client-side image map is created by using two elements <area> and <map>, where the map holds the map information and the area element takes the attributes to define each section of the map.

Server-side image map created by using <usemap> attribute, the usemap attribute is the name of our map.
Advertisement