In HTML, a checkbox is a graphical consumer interface aspect that enables the consumer to pick out or deselect an choice. Checkboxes are usually utilized in kinds to permit the consumer to make a number of choices from a set of choices.
To create a checkbox in HTML, you utilize the HTML aspect with the kind attribute set to “checkbox”. You can too set the worth attribute to specify the worth that will probably be submitted when the checkbox is checked.