HTML DOM Input Tel form Property Last Updated : 29 Jul, 2024 Comments Improve Suggest changes Like Article Like Report 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 the Input tel field. The value of this attribute must be the id of the <form> element. Example: Below program illustrates the HTML DOM Input Tel form property. HTML <!DOCTYPE html> <html> <body style="text-align:center;"> <h1 style="color:green;"> GeeksForGeeks </h1> <h2> DOM Input Tel form Property </h2> <form id="myGeeks"> <input type="tel" id="mytel" value="6753682635" readonly> </form> <br><br> <button onclick="GFG()"> Return! </button> <p id="demo" style="font-size:25px"></p> <script> function GFG() { var x = document.getElementById("mytel").form.id; document.getElementById("demo").innerHTML = x; } </script> </body> </html> Output: Supported Browsers:Google Chrome 3+Edge 12+FirefoxOpera 11+Safari 4+ Comment More infoAdvertise with us Next Article HTML | DOM Input URL form Property M manaschhabra2 Follow Improve Article Tags : HTML HTML-DOM HTML-Property Similar Reads 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 URL form Property 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 fi 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 Email form Property The Input Email form property in HTML DOM is used to return the reference of form containing the input Email field. It is read-only property that returns a form object on success. Syntax: emailObject.form Return Values: It returns a string value which specify the reference of the form containing the 1 min read HTML DOM Input Tel type Property The DOM Input tel type property in HTML DOM is used to return the type of form element of the input tel field. It always returns the "tel" for an Input tel field. Syntax: telObject.typeReturn Values: It returns a string value that represents the type of form element of the tel field. The below progr 1 min read HTML DOM Input tel name Property The input tel name property in HTML DOM is used to set or return the value of the name attribute of an input tel field. The name attribute is required for each input field. If the name attribute is not specified in an input field then the data of that field would not be sent at all. Syntax: It retur 1 min read Like