HTML DOM Output type Property Last Updated : 15 Jun, 2023 Comments Improve Suggest changes Like Article Like Report The HTML DOM Output type Property is used for returning the type of Output Element, the type of element the Output object represents. This property will always return the "output". Syntax: outputObject.type Parameter: This property does not accept any parameter. Return value: It returns a string value that represents the type of HTML element that the output element belongs to. Example: This Example returns the Output type Property. HTML <!DOCTYPE html> <html> <head> <title> HTML DOM Output type Property </title> <style> body { text-align: center; } h1 { color: green; } </style> </head> <body> <h1>GeeksforGeeks</h1> <h2> HTML DOM Output type Property </h2> <form oninput="sumresult.value = parseInt(A.value) + parseInt(B.value) + parseInt(C.value)"> <input type="number" name="A" value="50" /> + <input type="range" name="B" value="0" /> + <input type="number" name="C" value="50" /> <br /> Submit Result: <output name="sumresult" id="geeks" for="A B C"> </output> <br> <br> </form> <Button onclick="myGeeks()">Submit</Button> <h2 id="sudo"></h2> <script> function myGeeks() { let x = document.getElementById("geeks").type; document.getElementById("sudo").innerHTML = x; } </script> </body> </html> Output: Supported Browsers: The browsers supported by HTML DOM Output type Property are listed below: Google Chrome 10.0Firefox 4.0Opera 11.0Safari 5.1 Comment More infoAdvertise with us Next Article HTML DOM Output type Property M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML Web technologies HTML-DOM Similar Reads HTML | DOM Ol type Property The DOM Ol type Property is used to set or return the type attribute in an ordered list. This attribute defines which type(1, A, a, I and i) of order you want in your list numeric, alphabetic or roman numbers. Syntax: It is used to return the type property. olObject.type It is used to set the type p 2 min read HTML | DOM Output value Property The HTML DOM Output value Property is used to set or return the value of the Attribute of an <Output> Element. The value Attribute is used to specify the result of the calculation. Syntax: It return the value property.outputObject.value It set the value property.outputObject.value = result Pro 2 min read HTML | DOM Object type Property The HTML | DOM Object type Property is used to set or return the value of a type attribute of a <object> element. The type attribute is used to specify the Internet type of MIME type of the Object. Syntax: It returns the type property.objObject.typeIt is used to set the type property.objObject 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 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 Like