Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

HTML map Tag

HTML map Tag with html tutorial, tags, anchor, img, div, entity, textarea, marquee, p tag, heading tag, h1, h2, table, formatting, attribute, elements, ol, ul, Input Types, block element tag, inline element tag, html tags, phrase tag, head, body, form, lists, symbols etc.

<< Back to HTML

HTML <map> tag

HTML <map> tag is used with <area> tag to define a client-side image map.

An image map is consist of an image with clickable areas, where you can click on the image, and it will open to new or the provided destination.

The <map> tag can consist of more than one <area> elements which define the coordinates and type of the area.

With the help of <map> tag, you can easily link any part of the image to other documents, without dividing the image.


    <map name=" ">

Following are some specifications about the HTML <map> tag

Display None
Start tag/End tag Empty Tag(Only Start tag)
Usage Image map


  <!DOCTYPE html>
<title>HTML map tag</title>
  margin-left: 250px;}
 <h2>Example of HTML Map tag</h2>
<img src="image1.png" usemap="#web">
<map name="web">
<area shape="rect" coords="66,117,131,168" href="">
<area shape="rect" coords="199,36,277,85" href="">
<area shape="rect" coords="330,107,406,159" href="">
<area shape="rect" coords="199,185,267,236" href="">
Test it Now


Tag-specific attributes:

Attribute Value Description
name mapname It defines the name of the image-map.

Global attribute:

The <map> tag supports the global attributes in HTML

Event attribute:

The <map> tag supports the event attributes in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
Next TopicHTML mark Tag

Related Links:

Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf