HTML | <object> form Attribute
The HTML <object> form Attribute is used to specify the one or more forms that the <object> Element belongs to.
Syntax:
<object form="form_id">
Attribute Values:
- form_id: It is used to specify the <form> elements that the <object> element belongs to . The value of this attribute should be the id attribute of the form elements.
Example:
<!DOCTYPE html><html><body><center><objectid="myobject"width="400"height="100"name="myGeeks"form="myGeeks"data=</object><h1>GeeksForGeeks</h1><h2>HTML Object <form> Attribute</h2><formid="myGeeks"><label>Name</label><inputtype="text"><inputtype="submit"></form></center></body></html>chevron_rightfilter_noneOutput:

Supported Browsers: No browser supports HTML <object> form Attribute.
Recommended Posts:
- HTML | form Attribute
- HTML | <form> name Attribute
- HTML | <output> form Attribute
- HTML | <input> form Attribute
- HTML | <fieldset> form Attribute
- HTML | <button> form Attribute
- HTML | <form> autocomplete Attribute
- HTML | <label> form Attribute
- HTML | <meter> form Attribute
- HTML | <form> onreset Attribute
- HTML | <form> enctype Attribute
- HTML | <form> novalidate Attribute
- HTML | <form> method Attribute
- HTML | <textarea> form Attribute
- HTML | <form> target Attribute
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



