<!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" checked>Female <input type="radio" name="gender" value="Other">Other </body> </html>
Run
×
Share