HTML and CSS Reference
In-Depth Information
<map>
Encloses client-side image-map (
usemap
) spe-
cifications
Function
class
,
dir
,
id
,
lang
,
name
,
onClick
,
onDblClick
,
onKeyDown
,
onKeyPress
,
onKeyUp
,
onMouseDown
,
onMouseMove
,
onMouseOut
,
onMouseOver
,
onMouseUp
,
style
,
title
Attributes
</map>
; never omitted
End tag
Contains
map_content
Used in
body_content
More specifically, the
<map>
tag may contain either a sequence of
<area>
tags or conventional HTML/XHTML content including
<a>
tags. You cannot
mix and match
<area>
tags with conventional content. Browsers may dis-
play conventional content within the
<map>
tag;
<area>
tag contents will
not. If you are concerned about compatibility with older browsers, use
only
<map>
tags containing
<area>
tags.
If you do place
<a>
tags within a
<map>
tag, they must include the
shape
and
coords
attributes that define a region within the objects that referen-
ce the
<map>
tag.