Type: | boolean |
---|---|
Inherited: | no |
Used By: | input |
Default: | false |
See: | type |
This attribute determines whether a radio button or checkbox is checked by default. It can only be used with an input tag when type is "radio" or "checkbox"
This creates a checkbox that is checked by default
<input type="checkbox" name="box1" checked="true"/>