HTML आकार विशेषता
परिभाषा और उपयोग
विशेषता किसी क्षेत्र के आकार को shape
निर्दिष्ट करती है।
किसी क्षेत्र के आकार, आकार और स्थान को निर्दिष्ट करने के लिए विशेषता के shape
साथ विशेषता का उपयोग किया जाता है।
coords
पर लागू होता है
विशेषता का shape
उपयोग निम्नलिखित तत्व पर किया जा सकता है:
तत्त्व | गुण |
---|---|
<क्षेत्र> | आकार |
उदाहरण
क्लिक करने योग्य क्षेत्रों के साथ एक छवि मानचित्र:
<img src ="planets.gif"
width="145" height="126"
alt="Planets"
usemap="#planetmap">
<map
name="planetmap">
<area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun">
<area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury">
<area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus">
</map>
ब्राउज़र समर्थन
Attribute | |||||
---|---|---|---|---|---|
shape | Yes | Yes | Yes | Yes | Yes |