HTML Standard attribute: coords
[this page | pdf | back links]
The HTML coords attribute indicates the
coordinates of an <area>.
It, together with the shape
attribute specify the size, shape and position of the area.
Valid attribute
values (for <area>)
include:
|
Value
|
Description
|
|
x1, y1, x2,
y2
|
Coordinates of the
left, top (x1, y1) and right, bottom (x2, y2)
corners of a rectangle, if shape =
"rect"
|
|
x, y, r
|
Coordinates of the
circle centre (x, y) and circle radius (r), if shape = "circle"
|
|
x1, y1, x2,
y2,…, xn, yn
|
Coordinates of corners
of polygon. If the first and last coordinate pairs are not the same then the
browser will add another coordinate pair to complete the polygon, if shape = "poly"
|
NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes