Name

area — <area />

The area element is used within the map element of a client-side image map to define a specific clickable (“hot”) area.

Attributes

Core, Internationalization,Events, Focus

alt="text"

Required. Specifies a short description of the image that is displayed when the image file is not available.

coords="values"

Specifies a list of comma-separated pixel coordinates that define a “hot” area of an image map.

href="url"

Specifies the URL of the document or file that is accessed by clicking on the defined area.

nohref="nohref"

Defines a “mouse-sensitive” area in an image map for which there is no action when the user clicks in the area.

shape="rect|circle|poly|default"

Defines the shape of the clickable area.

target="text"

Specifies the name of the window or frame in which the target document should be displayed.

Example

See map element listing.

Get HTML and XHTML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.