Attributes · checked
Which attributes affect checked inputs?
The checked state, name and value determine the form data.
| Attribute | What it does | Docs |
|---|---|---|
checked | Sets the default checked state on a checkbox or radio. | MDN |
value | The value submitted when the control is checked; without it, the value is on. | MDN |
name | The submitted key; radios with the same name form a group. | MDN |
disabled | Excludes the control from submission, even when checked. | MDN |




