HTML <textarea> प्रपत्र विशेषता
उदाहरण
प्रपत्र के बाहर स्थित पाठ क्षेत्र (लेकिन फिर भी प्रपत्र का एक भाग):
<form action="/action_page.php" id="usrform">
Name: <input type="text" name="usrname">
<input type="submit">
</form>
<textarea name="comment" form="usrform">Enter text here...</textarea>
परिभाषा और उपयोग
विशेषता उस form
रूप को निर्दिष्ट करती है जिससे टेक्स्ट क्षेत्र संबंधित है।
इस विशेषता का मान समान दस्तावेज़ में किसी तत्व की id
विशेषता के बराबर होना चाहिए ।
<form>
ब्राउज़र समर्थन
Attribute | |||||
---|---|---|---|---|---|
form | Yes | 11.0 | Yes | Yes | Yes |
वाक्य - विन्यास
<textarea form="form_id">
गुण मान
Value | Description |
---|---|
form_id | Specifies the form element the <textarea> element belongs to. The value of this attribute must be the id attribute of a <form> element in the same document. |
एचटीएमएल <textarea> टैग