hip1/11.5/page1.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="page2.php"> <div> <label for="f_name">First name: </label> <input type="text" name="f_name" required> </div> <div> <label for="m_name">Middle name: </label> <input type="text" name="m_name"> </div> <div> <label for="l_name">Last name: </label> <input type="text" name="l_name" required> </div> <div> <label for="birthdate">Date of birth: </label> <input type="date" name="birthdate" required> </div> <div> <label for="gender">Gender: </label> <input type="radio" name="gender" id="male" value="Male" required> <label for="male">Male </label> <input type="radio" name="gender" id="female" value="Female" required> <label for="female">Female </label> <input type="radio" name="gender" id="other" value="Other" required> <label for="other">Other</label> </div> <div> <label for="country">Country: </label> <input type="text" name="country" required> </div> <div><input type="submit" value="submit"></div> </form> </body> </html>

Resultaat

Made by Thijs Aarnoudse