The checked Attribute

The Current State of HTML5 Forms

<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

Chrome

Opera

IE

Android

The Low Down

The checked attribute

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

Our Cookie Policy and Privacy Policy outline how we use cookies to help optimize service, personalize content, tailor and measure our marketing, and improve your user experience. I agree to use of cookies for these purposes.