<shape>

The <shape> element defines the shape of a linkable region in an image map.

The values for use in the <shape> element are defined by the HTML5 specification. The following values are supported as the content of the <shape> element:

circle
Indicates that the linkable region is a circle
default
Indicates the linkable region is a rectangle that exactly covers the entire image
poly
Indicates that the linkable region is a polygon
rect
Indicates that the linkable region is a rectangle

If the <shape> element is left empty, a rectangular shape is assumed.

The <shape> element is specialized from <keyword>. It is defined in the utilities domain module.

(Text | <text>)*

Contained by

<area>

Zero or more of the following

Contained by

+ topic/keyword ut-d/shape

The <shape> element is specialized from <keyword>. It is defined in the ut-domain module.

The following attributes are available on this element: universal attributes and @keyref.

For this element, the @translate attribute has a default value of no.

The following attributes are available on this element: universal attributes and the attributes defined below.

Specifies a key name that acts as a redirectable reference based on a key definition within a map. See The keyref attribute for information on using this attribute.
@translate
For this element, the @translate attribute has a default value of no.

Example

This section is non-normative.

See <imagemap>.