Name
<area> — NN: 2, 3, 4 - MSIE: 2, 3, 4, 5 - HTML 4 - WebTV - Opera3
Synopsis
<area>
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
-
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 8.6 later in this chapter).
-
href=
url
Specifies the URL for a specific 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|rectangle|circ|circle|poly|polygon
Defines the shape of the clickable area.
Get Web Design in a Nutshell 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.