HTML area Tag

PHOTO EMBED

Tue Feb 08 2022 08:56:01 GMT+0000 (UTC)

Saved by @Arjun007 #html #css #javasc #java #php #sass

<!DOCTYPE html>
<html>
<body>

<h1>The map and area elements</h1>

<p>Click on the computer, the phone, or the cup of coffee to go to a new page and read more about the topic:</p>

<img src="/img/favicon.png" alt="Workplace" usemap="#workmap" width="400" height="379">

<map name="workmap">
  <area shape="rect" coords="34,44,270,350" alt="Computer" href="computer.htm">
  <area shape="rect" coords="290,172,333,250" alt="Phone" href="phone.htm">
  <area shape="circle" coords="337,300,44" alt="Cup of coffee" href="coffee.htm">
</map>

</body>
</html>
content_copyCOPY

The <area>tag is used to defines an area inside an image map. area element is used only within a <map> element.

https://elementtutorials.com/html/html-tutorial.html/ref/area.html