1.

What is image map in Html5?

Answer»

In HTML 5, an Image map is ONE having clickable areas. The tag map defines an image-map.

Example

<img src="https://www.bestinterviewquestion.com/storage/blog/small/1585841464.png" alt="Workplace" usemap="#workmap">
<map name="workmap">
    <area shape="rect" coords="34,44,270,350" alt="COMPUTER" HREF="computer.htm">
    <area shape="rect" coords="290,172,333,250" alt="Phone" href="phone.htm">
    <area shape="circle" coords="337,300,44" alt="Coffee" href="coffee.htm">
</map>



Discussion

No Comment Found