HTML How to assign an initial value to radio button as checked
To assign a values as checked to any radio button in html, we can use checked attribute.
<input type="radio" checked="checked">
Alternatively, we can also just give an attribute of checked to it.
<input type="radio" checked />