The coords element specifies the coordinates of the linkable region in an imagemap area.
Pixels are recommended; they appear to work with all browsers.
This element contains text data representing HTML coordinate data for image maps. The syntax of the coordinate data depends on the shape described by the coordinates.
<area> <shape>rect</shape> <coords>54,1,117,60</coords> <xref href="d1-s2.dita"></xref> </area>
Doctype | Content model |
---|---|
ditabase, topic, task, reference, concept, glossary | ( text data or keyword or option or parmname or apiname or cmdname or msgnum or varname or wintitle or term or data or data-about or foreign or unknown) (any number) |
Doctype | Parents |
---|---|
ditabase, topic, task, concept, reference, glossary | area |
+ topic/ph ut-d/coords
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. When no xml:lang value is supplied, the default value of English is assumed. For example, if there is a note element with the attribute xml:lang set to the value "es," then the label on the note, which normally appears as "Note" will now appear in Spanish as "Nota." The allowed xml:lang values are based on RFC 4646 Tags for Identifying Languages (see W3C: Language tags in HTML and XML). | NMTOKEN | #IMPLIED | No |
dir | Specifies the directionality of text: left-to-right (ltr, the processing default) or right-to-left (rtl). See the DITA Architectural Specification for best practices related to this attribute, and other aspects of DITA and translation. | (ltr | rtl | lro | rlo | -dita-use-conref-target) | #IMPLIED | No |
%id-atts; (id, conref) | A set of related attributes, described at %id-atts; | parameter entity | PE not applicable | Not applicable |
%select-atts; (props, base, platform, product, audience, otherprops, importance, rev, status) | A set of related attributes, described at %select-atts; | parameter entity | PE not applicable | Not applicable |
%global-atts; (xtrf, xtrc) | A set of related attributes, described at %global-atts; | parameter entity | PE not applicable | Not applicable |
class, outputclass, keyref | Common attributes described in Other common DITA attributes |
Return to main page.
OASIS DITA Language Specification v1.1 -- Committee Draft 02, 8 May 2007
Copyright © OASIS Open 2005, 2007. All Rights Reserved.