Rinkal Bhanderi Rinkal Bhanderi - 1 year ago 76
HTML Question

Assign an initial value to radio button as checked

How do I assign the value of a radio button initially as checked in HTML?

Answer Source

You can use the checked attribute for this:

checked="checked"