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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access