源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>编程字典</title> </head> <body> <form action="demo_form.php"> <select name="cars"> <option value="volvo">沃尔沃</option> <option value="saab">萨博</option> <option value="opel">欧宝</option> <option value="audi">奥迪</option> </select> <input type="submit"> </form> </body> </html>
运行结果