एचटीएमएल <मीटर> फॉर्म विशेषता
उदाहरण
एक फॉर्म के बाहर स्थित एक <मीटर> तत्व (लेकिन फिर भी फॉर्म का एक हिस्सा):
<form action="/action_page.php" method="get" id="form1">
First name: <input type="text" name="fname"><br>
<input type="submit" value="Submit">
</form>
<p><label for="anna">Anna's score:</label>
<meter id="anna"
form="form1" name="anna" min="0" low="40" high="90" max="100"
value="95"></meter></p>
परिभाषा और उपयोग
विशेषता उस form
रूप को निर्दिष्ट करती है जिससे
<meter>
टैग संबंधित है।
इस विशेषता का मान समान दस्तावेज़ में किसी तत्व की id
विशेषता के बराबर होना चाहिए ।
<meter>
ब्राउज़र समर्थन
Attribute | |||||
---|---|---|---|---|---|
form | Not supported | Not supported | Not supported | Not supported | Not supported |
वाक्य - विन्यास
<meter form="form_id">
गुण मान
Value | Description |
---|---|
form_id | Specifies the form element the <meter> element belongs to. The value of this attribute must be the id attribute of a <form> element in the same document. |
❮ एचटीएमएल <मीटर> टैग