Skip to content
Related Articles

Related Articles

How to create a client-side image-map in HTML5 ?

View Discussion
Improve Article
Save Article
  • Last Updated : 20 Oct, 2020

In this article, we will create a client-side image map by using an <img> tag. The <img> tag is used to add images on a webpage. This tag is an empty tag which means it can contain only a list of attributes and it has no closing tag.


<img src="url" alt="some_text" usemap="#mapname">


<!DOCTYPE html>
        Define a client-side
        HTML5: How to define a
        client-side image-map?
        Inserted image
        using <img> tag:
    <img src=
    alt="GeeksforGeeks logo">


Supported Browsers:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari
My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!