23. What is the difference between checkbox and radio inputs?

Checkboxes represent independent binary or multi-select choices. Radio buttons represent mutually exclusive choices within a group sharing the same name.

Key Takeaways
  • Checkboxes support independent selection.

  • Radio groups support one selection among alternatives.

Knowledge Check

Which control is appropriate when exactly one option should be selected from a group?