Using Checkboxes to Make Forms More Friendly

Checkboxes default to being checked when they are active. Many web documents have these types of controls. You can change their appearance to make them more rounded and make the labels clear for your users. Checkboxes differ from radio buttons because you can select multiple checkboxes simultaneously.

Technical summary

Value A string representing the value of the checkbox.
Events change and input
Supported common attributes checked
IDL attributes checked, indeterminate and value
DOM interface

HTMLInputElement

Methods select()
Implicit ARIA Role checkbox