<area coords=”[values]”>

Sharing is caring!

Value of
<area coords=""> HTML Attribute
What does <area coords="[values]"> do?
Provides a list of comma-separated integers, the meaning of which is dependent on the value of the shape attribute.

Code Example

<img src="/wp-content/uploads/shapes.png" usemap="shapes-map">

<map name="shapes-map">
  <area shape="rect" title="Square" coords="19,28,222,228" href="/wp-content/uploads/square.png" target="_blank" />
  <area shape="circle" title="Circle" coords="361,132,96" href="/wp-content/uploads/circle.png" target="_blank" />
Adam is a technical writer who specializes in developer documentation and tutorials.

Browser Support for values