<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.

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

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

Example

See <imagemap>.