HTML <area> Tag
Description
The <area> tag is used to define clickable, interactive regions within an image map. It works in combination with the <map> and <img> elements, allowing different parts of a single image to act as separate links. Each <area> element represents a specific section of the image, such as a rectangle, circle, or custom polygon shape, and can be linked to different destinations or actions.
This tag is especially useful when creating visual navigation systems, interactive diagrams, floor plans, or illustrations where users can click on distinct areas rather than the entire image. For example, a world map could allow users to click on individual countries, or a diagram could provide detailed information when specific sections are selected.
The <area> element does not contain any visible content on its own. Instead, it defines invisible clickable zones that sit on top of an image. These regions are mapped using coordinates that correspond to the image’s dimensions, making precise placement important for usability and accessibility.
When used thoughtfully, the <area> tag helps improve user interaction by turning static images into engaging, functional interfaces while keeping the underlying HTML clean and structured.
Properties
Example
Attributes
- alt
- Alternate text. This specifies text to be used in case the browser/user agent can't render the image.
- coords
- Specifies the coordinates of an area.
- href
- Specifies the hyperlink target for the area.
- hreflang
- Specifies the language of the target URL.
- media
- Specifies what media/device the target URL is optimized for.
- rel
-
Specifies the relationship between the current document and the target URL.
Possible Values:- alternate
- author
- bookmark
- help
- license
- next
- nofollow
- noreferrer
- prefetch
- prev
- search
- tag
- shape
-
Specifies the shape of an area.
Possible Values:- default
- rect
- circle
- poly
- target
-
Specifies where to open the target URL.
Possible Values:- _blank
- _parent
- _self
- _top
- type
- Specifies the MIME type of the target URL.
Global Attributes
The <area> tag also supports the Global Attributes in HTML5
Event Attributes
The <area> tag also supports the Event Attributes in HTML5
Browser Support
The following information will show you the current browser support for the HTML <area> tag. Hover over a browser icon to see the version that first introduced support for this HTML tag.
This tag is supported by all modern browsers.
Desktop
Tablets & Mobile
Last updated by CSSPortal on: 25th December 2025
