<input checked>

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
Attribute of
How To Use Input To Create Form Fields In HTML: Easy Tutorial
What does <input checked> do?
Specifies whether a checkbox or radio button form input should be checked by default.

Code Example

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

Browser Support for checked

AllAllAllAllAllAll