HTML DOM Input Tel type Property Last Updated : 18 Oct, 2022 Comments Improve Suggest changes Like Article Like Report 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 program illustrates the input tel type property in HTML DOM. Example: This example returns the type of form element of the input tel field. HTML <!DOCTYPE html> <html> <body style="text-align:center;"> <h1 style="color:green;"> GeeksforGeeks </h1> <h2> DOM Input Tel type property </h2> <legend> Phone Number: <input type="tel" id="mytel" value="6753682635" required> </legend> <br><br> <button onclick="myClick()"> submit! </button> <p id="demo" style="font-size:25px"></p> <script> function myClick() { var x = document.getElementById("mytel").type; 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 Tel type Property M manaschhabra2 Follow Improve Article Tags : HTML HTML-DOM HTML-Property Similar Reads HTML DOM Input Text type Property The Input Text type Property in HTML DOM is used to return the type of form element of the text field. It always returns the text for an Input text field. Syntax: textObject.typeReturn Value: It returns a string value that represents the type of form element the input text field is. Below program i 1 min read HTML | DOM Input Range type Property The DOM Input Range type Property in HTML DOM is used for returning the which type of form element the slider control is. All the Browser should return "range". whereas the Internet Explorer always returns the "text" instead of "range". Syntax: rangeObject.type Return Value: It returns a string valu 1 min read HTML DOM Input Submit type Property The Input Submit type Property in HTML DOM returns the type of form element of the submit field. It always returns the submit for an Input submit field. Syntax: submitObject.typeReturn Values: It returns a string that represents the type of form element an input submit field is. Example: This examp 1 min read HTML DOM Input Tel value Property The Input Tel value Property in HTML DOM is used to set or return the value of Tel attribute in the input Tel field. The value attribute specifies the initial value of the input Tel field. It contains the default value or the user types. Syntax: It returns the value property.telObject.valueIt is use 1 min read HTML | DOM Input URL type Property The DOM Input URL type Property in HTML DOM is used for returning the Which type of form element the URL field is. This Property will always return "URL".Syntax: urlObject.type Return Value: It returns a string value which represent the type of form element the URL field is. Example: This Example il 1 min read Like