HTML Attributes reference

"coords" - html Attribute

Specifies the position and shape on the screen. The number and order of values depends on The shape being defined.

For use with client-side image maps

Value(s):
coordinates

Possible attribute, coords, values for this element:

Attribute value

description

rect

left-x, top-y, right-x, bottom-y.

circle

center-x, center-y, radius. Note. When the radius
value is a percentage value, user agents should calculate the final radius value
based on the associated object's width and height. The radius should be the smaller value of the two.

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. When these coordinate
values are not the same, user agents should infer an additional coordinate pair
to close the polygon.

Attribute "coords" example:

<html><body><object data="images/TheSun.png"
title="The Sun image" usemap="#sunmap"><map name="sunmap"><a shape="circle"
coords="182,117,57"
onclick="alert('You clicked on the sun');">Sun</a></map></object><br/>Remember: This will not work in Internet Explorer.
</body></html>