Skip to content
Related Articles

Related Articles

Improve Article

HTML | <object> form Attribute

  • Last Updated : 17 Jun, 2019

The HTML <object> form Attribute is used to specify the one or more forms that the <object> Element belongs to.


<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.


    <!DOCTYPE html>
            <object id="myobject"
            <h2>HTML Object <form> Attribute</h2>
            <form id="myGeeks">
                <input type="text">
                <input type="submit">


    Supported Browsers: No browser supports HTML <object> form Attribute.

    Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML  course.

    My Personal Notes arrow_drop_up
Recommended Articles
Page :