<AREA> Elements Cont.
AREA attribute definitions
coords = coordinates
This attribute specifies the position and shape on the screen. The number
and order of values depends on the shape being defined. Possible combinations:
- 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.
Coordinates are relative to the top, left corner of the object. All values
are lengths. All values are separated
by commas.
previous slide |
next slide
Return to Beginning of Presentation
Return to Software Development Library