HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <form method="get" action="/gender.php"> <label for="male">Male</label> <input type="radio" name="gender" value="male" id="male"><br> <label for="female">Female</label> <input type="radio" name="gender" value="female" id="female"><br> <label for="other">Other</label> <input type="radio" name="gender" value="other" id="other"> <input type="submit"> </form> <p>Note: It's not mandatory to click the radio button. Instead, users can click the corresponding label also.</p> </body> </html>
OUTPUT
×

Save as Private