checkbox

A form control that can be checked or unchecked, usually submitted with a form.

In more detail

A checkbox suggests the choice takes effect when the form is saved. A switch suggests the setting changes immediately, so settings that apply instantly should use role="switch" instead.

Example

In the browser: Each checkbox is independent, unlike radio buttons, where only one option in a group can be chosen. Its state is exposed to CSS through :checked.

Related terms

Taught in

References