<!DOCTYPE html> <html> <body> <p>checked attribute gives default value to the input</p> <input type="radio" name="gender" value="Male">Male <input type="radio" name="gender" value="Female">Female <input type="radio" name="gender" value="Other" checked>Other </body> </html>
Run
×
Share