hip1/11.4/11.4.html

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <form method="post" action="11.4.php"> <div>name: <input type="text" name="name" required></div> <div>age: <input type="number" name="age" required></div> <div><input type="radio" id="male" name="gender" value="male" required> <label for="male">Male</label></br> <input type="radio" id="female" name="gender" value="female"> <label for="female">Female</label></br> <input type="radio" id="other" name="gender" value="other"> <label for="other">Other</label></div> <input type="submit" value="submit"> </form> </body> </html>

Resultaat

Made by Thijs Aarnoudse