Show Output
<!DOCTYPE html> <html lang="en"> <head> <title>HTML Radio Buttons</title> </head> <body> <form> <input type="radio" name="gender" value="male" id="male"> <label for="male">Male</label> <input type="radio" name="gender" value="female" id="female"> <label for="female">Female</label> </form> </body> </html>