The coords element specifies the coordinates of a linkable
region in an imagemap.
This element contains text data representing coordinate
data for image maps. Pixels are the recommended units for describing
coordinates. The syntax of the coordinate data depends on the shape
described by the coordinates, and is based on the image map definition
in HTML. It uses the following data for the appropriate shapes:
- Shape
- Data format
- rect
- left-x, top-y, right-x, bottom-y
- circle
- center-x, center-y, radius
- poly
- x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair
and the last should be the same to close the polygon.
Contains
Note: These models represent only the default document types distributed by OASIS.
Actual content models will differ with each new document type.
Doctype |
Content model |
topic (base), map (base), classifyMap, subjectScheme, learningAssessment, learningBookmap, learningContent, learningMap, learningOverview, learningPlan, learningSummary |
( text data or data or data-about or foreign or unknown or keyword or term) (any number) |
topic (technical content), map (technical content), concept, ditabase, glossary, glossentry, glossgroup, reference, task, bookmap |
( text data or data or data-about or foreign or unknown or keyword or apiname or option or parmname or cmdname or msgnum or varname or wintitle or term or abbreviated-form) (any number) |
machineryTask |
( text data or data or data-about or foreign or unknown or keyword or wintitle or term) (any number) |
Contained by
Doctype |
Content model |
topic (base), map (base), topic (technical content), map (technical content), concept, ditabase, glossary, glossentry, glossgroup, reference, task (strict), task (general), bookmap, classifyMap, subjectScheme, machineryTask, learningAssessment, learningBookmap, learningContent, learningMap, learningOverview, learningPlan, learningSummary |
area |
Inheritance
+
topic/ph ut-d/coords
Example
<area>
<shape>rect</shape>
<coords>54,1,117,60</coords>
<xref href="d1-s2.dita"></xref>
</area>
Attributes
Name |
Description |
Data Type |
Default Value |
Required? |
translate |
Indicates whether the content of the element should be
translated or not. 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. |
yes | no |
-dita-use-conref-target |
"no" |
No |
xml:lang |
Specifies the language of the element content.
The xml:lang attribute and its values are described in the XML
Recommendation at
http://www.w3.org/TR/REC-xml/#sec-lang-tag.
|
language token or the null string |
#IMPLIED |
No |
dir |
Specifies the directionality of text:
left-to-right (ltr, the processing default) or right-to-left (rtl). The value
lro indicates an override of normal bidi text presentation, forcing the element
into left-to-right mode; rlo overrides normal rules to force right-to-left
presentation. See
The dir attribute for more information on the
dir attribute. |
(ltr | rtl | lro | rlo |
-dita-use-conref-target) |
#IMPLIED |
No |
id-atts attribute group (id, conref, conrefend, conaction,
conkeyref) |
A set of related attributes, described in
id-atts attribute group |
|
|
|
select-atts attribute group (props, base, platform, product,
audience, otherprops, importance, rev, status) |
A set of related attributes, described in
select-atts attribute group |
|
|
|
global-atts attribute group (xtrf, xtrc) |
A set of related attributes, described in
global-atts attribute group |
|
|
|
class, outputclass, keyref |
Keyref provides a redirectable
reference based on a key defined within a map. See
The keyref attribute for information on
using this attribute. Class and
outputclass are described in
Other common DITA attributes |
|
|
|