back

Checkbox

Attribute: type="checkbox"

This attribute creates a checkbox and a value for it if it selected.
If the box is checked then the value attribute is also submitted with the form.

Example