Name

area

Synopsis

<area />

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

Attributes

Core(id, class, style, title), Internationalization, Events, accesskey, tabindex, onfocus, onblur

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

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.

Get Web Design in a Nutshell, 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.