html radio button selected

Use the 'checked' property to automatically select a radio button. In this example 'Yes' is automatically checked.

Yes No

Code

Yes<input type="radio" name="myradio" value="Yes" checked="checked" />
No<input type="radio" name="myradio" value="No" />