The shape property sets or returns the value of the shape attribute of an area.
The shape attribute specifies the shape of an area.
The shape property can have one of the following values:
|default||Specifies the entire region|
|rect||Defines a rectangular region|
|circle||Defines a circular region|
|poly||Defines a polygonal region|
The shape property is supported in all major browsers.
Return the shape for the "Venus" area in the image-map:
The output of the code above will be:
Your message has been sent to W3Schools.