एचटीएमएल <क्षेत्र> href विशेषता
उदाहरण
छवि मानचित्र में प्रत्येक क्षेत्र के लिए लिंक लक्ष्य निर्दिष्ट करने के लिए href विशेषता का उपयोग करें:
<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>
परिभाषा और उपयोग
विशेषता क्षेत्र के href
लिए हाइपरलिंक लक्ष्य निर्दिष्ट करती है।
यदि href
विशेषता मौजूद नहीं है, तो
<area>
टैग हाइपरलिंक नहीं है।
ब्राउज़र समर्थन
Attribute | |||||
---|---|---|---|---|---|
href | Yes | Yes | Yes | Yes | Yes |
वाक्य - विन्यास
<area href="URL">
गुण मान
Value | Description |
---|---|
URL | Specifies the hyperlink target for the area. Possible values:
|
❮ एचटीएमएल <क्षेत्र> टैग