HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

area

Description

The area element for HTML represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map.

Syntax

HTML

<area attribute-name="attribute-value"></area>

Attributes

Global

NameValueDescription
altnormal character datafallback content for the image map
coordscircle | polygon | rectanglecoordinates for the shape on the image map
downloadstringdownload the hyperlink destination
hrefURIreference to the hyperlink destination
hreflanglanguage taglanguage of the hyperlink destination
pinglist of URIslist of URLs to notify if a user follows the hyperlink
referrerpolicyempty | no-referrer | no-referrer-when-downgrade | origin | origin-when-cross-origin | same-origin | strict-origin | strict-origin-when-cross-origin | unsafe-urlreferrer policy for fetches initiated by the element
reltokensrelationship between the hyperlink document and the hyperlink destination
shapecircle | polygon | rectangle | defaultshape of the area for the hyperlink on the image map
targetbrowsing-context name or keywordbrowsing context for the hyperlink destination
typeMIME typetype of the hyperlink destination

CSS

area
{
    display: inline;
}

Examples

1 · alt

2 · coords

3 · download

4 · href

5 · hreflang

6 · ping

7 · referrerpolicy

8 · rel

9 · shape

10 · target

11 · type

12 · CSS