SHAPE=

SHAPE=CIRC | CIRCLE | POLY | POLYGON | RECT | RECTANGLE

Specifies the type of shape used in the image map.

Each shape causes the coords attribute to take a different set of values. The table below describes the relationship:

RECT Rectangle. Takes four coordinates: x1, y1, x2, and y2.
RECTANGLE Rectangle. Takes four coordinates: x1, y1, x2, and y2.
CIRC Circle. Takes three coordinates: centerx, centery, and radius.
CIRCLE Circle. Takes three coordinates: centerx, centery, and radius.
POLY Polygon. Takes three or more pairs of coordinates denoting a polygonal region.
POLYGON Polygon. Takes three or more pairs of coordinates denoting a polygonal region.

Applies To

AREA

Ayuda de Html para Javascripts.astalaweb.com.