coords

The coords element specifies the coordinates of the linkable region in an imagemap area.

The element defines the starting point and size of that area. 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.

Pixels are recommended; they appear to work with all browsers.

Note: The behavior of image maps will depend on the browser on which they are rendered.

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.

Contains

( text data or keyword or option or parmname or apiname or cmdname or msgnum or varname or wintitle or term) (any number)

Contained by

area

Inheritance

topic/ph, ut-d/coords

Attributes

Name Description Data Type Default Value Required?
keyref Currently not implemented in DITA processors. Provides a key that a process can use to look up associated information. NMTOKEN #IMPLIED No
%univ-atts; (%select-atts;, %id-atts;, translate, xml:lang) A set of related attributes, described at %univ-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 Common attributes described in Other common DITA attributes

Example

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

OASIS DITA Language Specification v1.0 -- 09 May 2005
Copyright (c) OASIS Open 2005. All Rights Reserved.