WeCodeAcademy
❮ readonlyselected ❯

checked

Pre-selects a checkbox or radio button.

Applies to: input

Syntax

<input type="checkbox" checked>

Example

Examplehtml
Open in editor »

← All of HTML Attributes