HTML Area Tag

HTML <area> Tag

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:-

usemap php bootstrap javascript

Leave a Comment

Your email address will not be published. Required fields are marked *