The Current State of HTML5 Forms

The checked Attribute

<input type="checkbox" checked name="foo" value="bar">
<input type="checkoxb" name="baz" value="zap">
<input type="radio" checked name="bip" value="true">
<input type="radio" checked name="bip" value="false">

Live Demo

Checked by default
Not checked by default
Checked by default
Not checked by default
Firefox
Safari
Safari Mobile
Chrome
Opera
IE
Android
Supported Supported Supported Supported Supported Supported Supported

The Low Down

The checked attribute

  • Valid for <input type=checkbox> and <input type=radio>