I just tried the following HTML :
<input type='radio' checked='checked' name='test' id='r1' />
<input type='radio' checked='' name='test' id='r2' />
which (in my mind's eye) should have the first radio button checked. Turns out browsers will check any radio button with a checked
attribute.
Is there a 'false' value, that won't check the button, so my code is consistent?
<input checked />
looks sloppy and inconsistent. Ah well can't have everything. Thanks for the confirmation. – Homeland