<!DOCTYPE html> <html> <body> <form action="files/select-required.php" method="post"> Name:<input type="text" name="fullname"> <select name="gender" required> <option> <option>Male <option>Female </select> <input type="submit" name="submit"> </form> </body> </html>
Run
×
Share