Right you are Not quite awake todayPadwah said:close, selected works on drop down lists :
Jonty said:Hi wyrd_fish
As Padwah says, just add 'checked' (or, technically speaking, checked="checked") to the <input /> tag; e.g.
Code:<input checked="checked" type="radio" />
Kind Regards
<input checked="i like men" type="radio" />
<input name="MyRadioButton" type="radio" value="1" checked>
I know wyrd_wish isn't writing his markup specifically in accordance with XHTML, but still, t doesn't hurt to get into good habits Pages written in XHTML but which don't use the attribute="attribute" probably won't validate.W3C XHTML Specification said:XML does not support attribute minimization. Attribute-value pairs must be written in full. Attribute names such as compact and checked cannot occur in elements without their value being specified.