<area> - HTML 5
The <area> tag defines an area inside an image-map (an image-map is an image with clickable areas).
The <area> element is always nested inside a <map> tag.
Note: The usemap attribute in the <map> element's name attribute, and creates a relationship between the image and the map.
ATTRIBUTES :
- alt (text) : Specifies an alternate text for the area. Required if the href attribute is present
- coords (coordinates) : Specifies the coordinates of the area
- download : Specifies that the target will be downloaded when a user clicks on the hyperlink
- href (url) : 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
- shape (default,rect,circle,poly) : Specifies the shape of the area
- target : Specifies where to open the target URL
- type : Specifies the media type of the target URL
Syntax
Example
Output / Return Value
Limitations
Alternatives / See Also
Reference