jump

HTML: The Markup Language (an HTML language reference)

mapimage-map definition # T

The map element, in conjunction with any area element descendants, defines an image map.

Permitted contents #

transparent (either phrasing content or flow content )

Permitted attributes #

global attributes
Any attributes permitted globally.
name = name #
A name by which the map can be referenced.
Any string, with the following restrictions:

Additional constraints and admonitions #

Tag omission #

A map element must have both a start tag and an end tag.

Permitted parent elements #

any element that can contain phrasing elements, any element that can contain flow elements

DOM interface #

interface HTMLMapElement : HTMLElement {
           attribute DOMString name;
  readonly attribute HTMLCollection areas;
  readonly attribute HTMLCollection images;
};

Typical default display properties #

map {
display: inline; }