源代码
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>享学志成</title> </head> <body> <select> <option value="volvo">沃尔沃</option> <option value="saab">萨博</option> <option value="vw">大众</option> <option value="audi" selected>奥迪</option> </select> </body> </html>
运行结果