check radio by default code example
Example 1: radio by default selected
checked="checked"
Example 2: radio selected
//checked
<input type="radio" id="huey" name="drone" value="huey"
checked>
checked="checked"
//checked
<input type="radio" id="huey" name="drone" value="huey"
checked>