Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML | <a> shape Attribute

  • Last Updated : 11 Aug, 2021

The shape attribute is used with the coords attribute to describe the size, shape, and placement of a link in an <object> or <img> element. It is not supported by HTML 5.

<a shape="value">

Attribute Values: 

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

  • default: It is used to specify the entire region.
  • rect: It is used to specify the rectangular region.
  • circle: It is used to specify a circular region.
  • poly: It is used to specify the polygonal region.



<!DOCTYPE html>
      HTML a shape Attribute
<body style="text-align: center">
    <object data=
        <map name="shapemap">
            <!-- a tag contained image. -->
            <a href=
               coords="59, 31, 28, 83, 91, 83">
            <a href=
               coords="155, 56, 26">
            <a href=
               coords="224, 30, 276, 82">


Before click on specific clickable area:

After click on specific clickable area: 

Supported Browsers: The browser supported by HTML <a> shape Attribute are listed below: 

  • Firefox
  • Opera


My Personal Notes arrow_drop_up
Recommended Articles
Page :