Udostępnij za pośrednictwem


Adding checkbox controls (HTML)

[ This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation ]

A checkbox is a control that the user can check or uncheck by tapping, clicking, or pressing the space bar on the keyboard. Most checkbox controls have two states, checked and unchecked, but some checkbox controls support a third, indeterminate state.

Use checkbox controls to present users with an individual choice, one or more options that are not mutually exclusive, or a mixed choice. The topics in this section describe how to create and use checkbox controls.

Checked/unchecked Checked and unchecked checkboxes
Indeterminate An indeterminate check box

 

In this section

Topic Description

Quickstart: Add checkbox controls

Learn how to create checkbox controls.

How to style checkbox controls

Learn how to use CSS to style checkbox controls.