HTML <area> Tag
Area Tags are always used within a Map Tag.
The use of area tags defines the area inside the image map (image map is a clickable image of different areas of the image).
The Hyper Markup language tag is tag is used for defining an area in an image map.
Example:-
<!DOCTYPE html>
<html>
<head>
<title>HTML area Tag</title>
</head>
<body>
<img src = "usemap.gif" alt = "usemap" border = "0" usemap = "#tutorials"/>
<map name = "tutorials">
<area shape = "poly" coords = "74,0,113,29,98,72,52,72,38,27"
href = "https://www.myprograming.com/index.php/tag/php/" alt = "php" target = "_blank" />
<area shape = "rect" coords = "22,83,126,125" alt = "bootstrap"
href = "https://www.myprograming.com/index.php/tag/bootstrap/" target = "_blank" />
<area shape = "circle" coords = "73,168,32" alt = "javascript"
href = "https://www.myprograming.com/index.php/tag/javascript/" target = "_blank" />
</map>
</body>
</html>
Output:-

One thought on “HTML Area Tag”