एचटीएमएल <ऑब्जेक्ट> फॉर्म विशेषता
उदाहरण
एक फॉर्म के बाहर स्थित एक <ऑब्जेक्ट> तत्व (लेकिन फिर भी फॉर्म का एक हिस्सा):
<form action="/action_page.php" id="form1">
First name: <input type="text" name="fname"><br>
<input type="submit" value="Submit">
</form>
<object data="pic_trulli.jpg" width="300" height="200"></object>
परिभाषा और उपयोग
विशेषता उस form
रूप को निर्दिष्ट करती है जिससे वस्तु संबंधित है।
इस विशेषता का मान समान दस्तावेज़ में किसी तत्व की id
विशेषता के बराबर होना चाहिए ।
<form>
ब्राउज़र समर्थन
Attribute | |||||
---|---|---|---|---|---|
form | Not supported | Not supported | Not supported | Not supported | Not supported |
वाक्य - विन्यास
<object form="form_id">
गुण मान
Value | Description |
---|---|
form_id | Specifies the <form> element the <object> element belongs to. The value of this attribute must be the id attribute of a <form> element in the same document. |
❮ एचटीएमएल <ऑब्जेक्ट> टैग