Open In App
Related Articles

HTML | <object> form Attribute

Improve Article
Save Article
Like Article

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 &lt;form&gt; Attribute</h2>
        <form id="myGeeks">
            <input type="text">
            <input type="submit">



Supported Browsers:  Browsers supported by HTML <object> form Attribute.

  • Google Chrome 
  • Edge 12
  • Internet Explorer 
  • Firefox 1
  • Opera 
  • Safari 
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 19 Jul, 2022
Like Article
Save Article
Similar Reads
Related Tutorials