DITA Resource Center

<shape>

The <shape> element defines the shape of a linkable area in an <imagemap>.

The <shape> element supports these values:

rect
Define a rectangular region. If you leave the <shape> element blank, a rectangular shape is assumed.
circle
Define a circular region.
poly
Define a polygonal region.
default
Indicates the entire diagram.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/keyword ut-d/shape

Example

<area>
 <shape>rect</shape>
 <coords>54,1,117,60</coords>
 <xref href="d1-s2.dita"></xref>
</area>

Attributes

The following attributes are available on this element: Universal attribute group (with a narrowed definition of @translate, given below), @outputclass, and @keyref.

@translate
Indicates whether the content of the element should be translated or not. For this element the default value is "no". Setting to "yes" will override the default. The DITA architectural specification contains a list of each OASIS DITA element and its common processing default for the translate value; because this element uses an actual default, it will always be treated as translate="no" unless overridden as described. Available values are:
no
The content of this element is not translateable.
yes
The content of this element is translateable.
-dita-use-conref-target
See Using the -dita-use-conref-target value for more information.

Was this page helpful?