Name

SHAPE — NN all IE all HTML 3.2

Synopsis

SHAPE=”shape"

Optional

Defines the shape of the client-side area map whose coordinates are specified with the COORDS attribute. The SHAPE attribute tells the browser how many coordinates to expect.

Example

<AREA SHAPE="poly" COORDS="20,20,20,70,65,45" HREF="contents.html" 
TARGET="display">

Value

Case-insensitive shape constant. Each implementation defines its own set of shape names and equivalents, but there are common denominators across browsers (circle, rect, poly, and polygon).

Shape Name

NN

IE

HTML

circ

-

&bull;

-

circle

&bull;

&bull;

&bull;

poly

&bull;

&bull;

&bull;

polygon

&bull;

&bull;

-

rect

&bull;

&bull;

&bull;

rectangle

-

&bull;

-

Default

rect

Object Model Reference

IE

[window.]document.all.elementID.shape

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.