Name

SHAPES — NN n/a IE n/a HTML 4

Synopsis

SHAPES

Optional

The presence of the SHAPES attribute instructs the browser to treat the OBJECT element’s image as a client-side image map and the nested A elements as hotspot definitions for the map. Nested A elements must include COORDS attribute settings. An OBJECT element can inherit the image map specifications from a nested OBJECT element, provided the nested object specifies both the SHAPES and EXPORT attributes.

Example

<OBJECT data="widget399.pdf" SHAPES>
    <OBJECT data="widget399.gif" SHAPES EXPORT>
    <A HREF="w399Specs.html TARGET="main" SHAPE="rect" COORDS="10,10,40,50">
    <A HREF="w399Price.html TARGET="main" SHAPE="rect" COORDS="40,10,80,50">
    <A HREF="w399Order.html TARGET="main" SHAPE="rect" COORDS="10,50,80,100">
    </OBJECT>
</OBJECT>

Value

The presence of the SHAPES attribute sets it to true.

Default

false

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.