Checkboxes & Radio Buttons
Checkboxes
Allow users to select multiple options. Each checkbox is independent. Add the checked attribute to pre-select one.
Radio Buttons
Allow users to select exactly one option from a group. All radios in the same group must share the same name.
The value Attribute
The value attribute is what gets sent to the server when the form is submitted — not the label text.