Name
<area> — NN 2, 3, 4, 6 MSIE 3, 4, 5, 5.5, 6 HTML 4.01 WebTV Opera5
Synopsis
<area> (no end tag)
The area tag is used within the
<map> tag of a client-side
imagemap to define a specific “hot”
(clickable) area. Client-side imagemaps are discussed later in this
chapter.
Attributes
-
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 imagemap. The specific syntax for the coordinates varies by shape (see Section 11.6 later in this chapter).
-
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 imagemap 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.
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