The HTML shape attribute
Quick answer
The HTML shape attribute defines the shape of a clickable region in an image map. It is used on the <area> element.
Overview
Syntax
<area shape="rect" coords="0,0,100,100" href="/box" alt="Box">
Values
| Value |
|---|
| rect | circle | poly | default |
Best practices
Frequently asked questions
What does the shape attribute do?
Sets the shape of an image-map area.