The <area>
element
Represents a clickable area on a client-side image map, along with the link that should be followed if it's clicked on.
This is an empty element, so it shouldn't have a closing tag.
Full list of attributes
All the usual HTML global attributes are available
alt
- A description of the link that, combined with the
alt
value for the image itself, allows people who can't see the image to choose whether to follow the link. coords
- The coordinates which define the exact position and size of the shape of the clickable area, as a list of numbers separated by commas.
download
- If present, the URI should be downloaded instead of loaded into the browser window.
href
- The URI of the link that will be followed, or the resource that will be downloaded, if the user clicks on this area of the map.
hreflang
- The language the linked page is written in.
ping
- URIs to send pings to when the area is clicked, to allow them to count the number of clicks.
rel
- The relationship the linked page has with this document.
shape
- Selects one of several different kinds of shapes which can be drawn using the
coords
attribute. Valid values arecircle
,default
,poly
, orrect
. target
- The browser context to load the link in.
type
- The MIME type of the resource at the destination URI.