title: What is the syntax for boolean attributes, e.g. a checked checkbox, in HTML?
body: <p>Sounds like a bit of a silly question, but I am wondering what is the best way of stating that a checkbox is checked/unchecked in HTML.</p>
  
  <p>I have seen many different examples:</p>
  
  <pre><code>&lt;input type="checkbox" checked="checked" /&gt;
  &lt;input type="checkbox"  /&gt;
  
  &lt;input type="checkbox" checked="yes" /&gt;
  &lt;input type="checkbox" checked="no" /&gt;
  
  &lt;input type="checkbox" checked="true" /&gt;
  &lt;input type="checkbox" checked="false" /&gt;
  </code></pre>
  
  <p>Which browsers work with which ones of these, and most importantly, does jQuery figure out which box is checked in all 3?</p>
  
  <p><strong>Edit:</strong>
  The W3C spec seems to imply that just the checked attr being there is correct. Does that mean that checked="false" and checked="no" will still check the box though?</p>