HTML area Tag


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

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

<!DOCTYPE html>

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


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