How do I assign the value of a radio button initially as checked in HTML?
You can use the checked attribute for this:
checked
<input type="radio" checked="checked">
2.1m questions
2.1m answers
60 comments
57.0k users