HTML | DOM Input URL form Property Last Updated : 26 Aug, 2022 Comments Improve Suggest changes Like Article Like Report The DOM Input URL form Property is used for returning the reference of the form containing the URL field. It is read-only property and returns a form object on success. Syntax: urlObject.form Return Values: It returns a string value which specify the reference of the form containing the Input URL field Below Program that illustrates the use of form Property. Example: html <!DOCTYPE html> <html> <head> <title> DOM Input URL form Property </title> </head> <body> <center> <h1 style="color:green;"> GeeksForGeeks </h1> <h2> DOM Input URL form Property </h2> <label for="uname" style="color:green"> </label> <form id="geeks"> <input type="url" id="gfg" placeholder="Enter URL" size="20" pattern="https?://.+" title="Include http://" maxlength="20"> </form> <br> <br> <button type="button" onclick="geeks()"> Click </button> <p id="GFG" style="color:green; font-size:25px;"> </p> <script> function geeks() { var link = document.getElementById( "gfg").form.id; document.getElementById( "GFG").innerHTML = link; } </script> </center> </body> </html> Output: Before Clicking On Button: After Clicking On Button: Supported Browsers: The browsers supported by DOM input URL form property are listed below: Google Chrome 1Edge 12FirefoxOpera 11Safari Comment More infoAdvertise with us Next Article HTML | DOM Input URL form Property M manaschhabra2 Follow Improve Article Tags : Misc Web Technologies HTML HTML-DOM Practice Tags : Misc Similar Reads HTML DOM Input Tel form Property The DOM Input Tel form Property in HTML is used for returning the reference of the form containing the input tel field. It is a read-only property that returns a form object on success. Syntax: telObject.form Return Value: It returns a string value that specifies the reference of the form containing 1 min read HTML | DOM Input Range form Property The DOM Input Range form Property in HTML DOM is used to return the reference of form containing the input range field. It is a read-only property that returns the form object on success.Syntax: rangeObject.form Return Values: It returns a string value which specify the reference of the form contain 1 min read HTML | DOM Input Text form Property The DOM Input Text form Property in HTML DOM is used to return the reference of form containing the input Text field. It is a read-only property that returns the form object on success. Syntax: textObject.form Return Values: It returns a string value which specify the reference of the form containin 1 min read HTML | DOM Input Time form Property The DOM Input Time form Property in HTML DOM is used for returning the reference to the form containing the time field. It is read-only Property that returns a form object on success. Syntax: timeObject.form Return Values: It returns a string value which specify the reference of the form containing 1 min read HTML | DOM Input Date form Property The Input Date form property is used for returning a reference to the form containing the Date field. It is a read-only property that returns a form object on success, else if the date control is not in the form, it returns NULL.Syntax: inputdateObject.form Return Values: It returns a string value w 1 min read Like