Name
map
Synopsis
<map>...</map>
Specifies a client-side image map. It contains some number of
area
elements that establish
clickable regions within the image map. The map must be named using
the name
attribute in HTML
documents, the id
attribute in
XHTML documents, or both for backwards-compatibility.
Attributes
Core(id
,
class
, style
, title
),
Internationalization,
Events
-
id="
text
"
Required. Gives the map a unique name so it can be referenced from a link, script, or style sheet. This attribute is required in the XHTML 1.0 & 1.1 Recommendations.
-
name="
text
"
Required in HTML; Deprecated in XHTML 1.0 only; use
id
instead. Gives the image map a name that is then referenced within theimg
element.
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.