HTML | DOM Input Checkbox type Property Last Updated : 24 Aug, 2022 Comments Improve Suggest changes Like Article Like Report The Input Checkbox type Property in HTML DOM is used to return that which type of form element the checkbox is. For a checkbox input field, this Property was always return only "checkbox". Syntax: checkboxObject.type Return Value: It returns a string value which represents the type of form element the checkbox. Example: This example returns the Input Checkbox type Property. HTML <!DOCTYPE html> <html> <head> <title> DOM Input Checkbox type Property </title> </head> <body style="text-align: center;"> <h1 style="color:green;"> GeeksforGeeks </h1> <h2>DOM Input Checkbox type Property</h2> <form> <!-- Below input elements have attribute checked --> <input type="checkbox" name="check" id="GFG" value="1" checked>Checked by default<br> <input type="checkbox" name="check" value="2"> Not checked by default<br> </form> <br> <button onclick="myGeeks()"> Submit </button> <p id="sudo" style="color:green;font-size:25px;"></p> <!-- Script to return Input Checkbox type attribute --> <script> function myGeeks() { var g = document.getElementById("GFG").type document.getElementById("sudo").innerHTML = g; } </script> </body> </html> Output: Before clicking on the Button: After clicking on the Button: Supported Browsers: The browser supported by DOM Input Checkbox type Property are listed below: Google ChromeEdge 12 and aboveOperaApple SafariMozilla Firefox Comment More infoAdvertise with us Next Article HTML | DOM Input Checkbox type Property M manaschhabra2 Follow Improve Article Tags : Misc Web Technologies HTML HTML-DOM Practice Tags : Misc Similar Reads HTML DOM Input Checkbox value Property HTML DOM Input Checkbox Value property sets or return the value of the value attribute of an input checkbox field, however the contents of the value attribute does not shown to user. It manages their assigned value, reflecting their state when checked or unchecked. It retrieves or sets the value att 3 min read HTML DOM Input Checkbox required Property The Input Checkbox required property in HTML DOM is used to set or return whether the input checkbox field should be checked or not before submitting the form. This property is used to reflect the HTML-required attribute. Syntax:It returns the Input Checkbox required property.checkboxObject.required 2 min read HTML | DOM Input Checkbox form Property The Input Checkbox form property in HTML DOM is used to return the reference of form containing the input Checkbox field. It is read only property that returns the form object on success. Syntax: checkboxObject.form Return Values: It returns a string value which specify the reference of the form con 1 min read HTML | DOM Input Date type Property The Input Date type property is used for returning the type of form element the date field is. The Input Date type property returns a string that represents the type of form element the date field is. Syntax: inputdateObject.type Return Values: It returns a string value that represents the type of f 1 min read HTML | DOM Input Checkbox checked Property The DOM Input Checkbox Property is used to set or return the checked status of a checkbox field. This property is used to reflect the HTML Checked attribute. Syntax: It is used to return the checked property.checkboxObject.checkedIt is used to set the checked property.checkboxObject.checked = true|f 2 min read Like