Mayank Kashyap's Blog

Using Image Map

October 04, 2015 | 0 Minute Read

Hey There! Today I am going to discuss about image maps. We all know how to make an image clickable and redirect it to a link. But, have you ever thought if we want only a part of an image clickable or many different parts of an image clickable and redirect them to different links. This can be acheived with the help of image map.

Suppose we have the following Batman VS Superman image and we want that any one who clicks on the batman section should be redirected to batman and the superman section should redirect to superman.

This can be acheived through the following code:

batman superman