HTML <क्षेत्र> आकार विशेषता
उदाहरण
छवि मानचित्र में प्रत्येक क्षेत्र का आकार निर्दिष्ट करने के लिए आकृति विशेषता का उपयोग करें:
<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>
परिभाषा और उपयोग
विशेषता किसी क्षेत्र के आकार को shape
निर्दिष्ट करती है।
किसी क्षेत्र के आकार, आकार और स्थान को निर्दिष्ट करने के लिए विशेषता के shape
साथ विशेषता का उपयोग किया जाता है।coords
ब्राउज़र समर्थन
Attribute | |||||
---|---|---|---|---|---|
shape | Yes | Yes | Yes | Yes | Yes |
वाक्य - विन्यास
<area shape="default|rect|circle|poly">
गुण मान
Value | Description |
---|---|
default | Specifies the entire region |
rect | Defines a rectangular region |
circle | Defines a circular region |
poly | Defines a polygonal region |
❮ एचटीएमएल <क्षेत्र> टैग