The <area> element defines a clickable region inside an image map. It must be placed inside a <map> element, while the related image points to that map using usemap="#name".
<img src="images/map.jpg" usemap="#sections" alt="Tutorial sections">
<map name="sections">
<area shape="circle" coords="62,39,25" href="../php_tutorial/site_map.php" alt="PHP tutorials">
</map>
rect: x1,y1,x2,y2circle: x,y,radiuspoly: a sequence of x,y coordinate pairsdefault: the remaining image-map area; do not use coords with it.Try the active regions in this original Plus2net map:
When an <area> has an href, provide meaningful alt text describing the link destination or purpose. Link attributes such as target, rel, download and referrerpolicy can also be used where appropriate.
Image-map coordinates are pixel based. If the image is resized with CSS, the original coordinates do not automatically scale with it. Test image maps carefully on responsive layouts or use an alternative interaction pattern when the image must resize substantially.
HTML image maps HTML images CSS cursor
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.
| USAMA | 08-01-2010 |
| Good, i got the idea about html web progrmming language | |
| dany | 23-02-2010 |
| it is very useful for the beginners who d'nt about the HTML.... | |
| bethel | 27-02-2010 |
| this is great. our teacher wants us to make our own webpage. and it sucks! haha! :) thanks for putting the tags. | |
| imran | 31-03-2010 |
| its very nice idea about the html web programing | |
| dylan | 11-04-2010 |
| thanks this was a lot of help! | |
| surendra | 12-01-2012 |
| Dear Sir your tutorials very nice thankyou, one doubt for me i arrange html &css but not navigation bar linking another page how please tell me thankyou | |
| michael | 03-10-2012 |
| Hope this works | |