<input checked>

Sharing is caring!

Attribute of
<input> HTML Tag
What does <input checked> do?
Specifies whether a checkbox or radio button form input should be checked by default.

Code Example

 <input type="checkbox" name="checkbox" checked> <label for="checkbox"> Checked</label>
Adam is a technical writer who specializes in developer documentation and tutorials.

Browser Support for checked