area ElementThe area element is declared by the XHTML 1.1 Client-side Image Map Module
Elements in the Client-side Image Map Module are:map | area
The area element is used to associate a target URI
with a specific area in an image map created using the Client-side Image Map Module.
See the map element for details on
how to set up such an image map.
For example, to create an area defined by a circle with radius 15px and centre at pixel coordinate (30,20) from the top left of the image:
See the Coords Attribute Type for more details of how to specify areas with different shapes.
As an alternative to area, the shape
and coords attributes may instead be used on the
a element within a map.
Note: The area element does not
have an hreflang attribute declared so any client-side image maps
which require this functionality should use a elements instead.
The alt attribute is #REQUIRED on the area element.
area element are listed below:accesskey [ type Character ]alt [ type Text - #REQUIRED ]area (to be used by non-graphical browsers)coords [ type Coords ]shape of the areahref [ type URI ]nohref [ type Boolean ]area has no associated hyperlinkshape [ type Shape (rect | circle | poly | default) - default="rect" ]area - the coords attribute specifies the shape's dimensionstabindex [ type Number ]area in the tabbing order of the documentonblur [ type Script ]onfocus [ type Script ]target [ type FrameTarget ]area element are listed below:class [ type NMTOKENS ]id [ type ID ]style [ type CDATA ], from the Style Attribute Module (deprecated)title [ type Text ]xmlns [ type URI - #FIXED 'http://www.w3.org/1999/xhtml' ]dir [ type Enumeration (ltr | rtl) ], from the Bi-directional Text Modulexml:lang [ type LanguageCode ]All attributes in the
Events Attribute Collection
are supported:onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
area element is:
EMPTY
See Content Model & Nesting for information about Content Model syntax and Nesting Groups.
areaThis element is empty and may have no children.
areamap