<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>下拉列表框和下拉列表</title> </head> <body> <h1>下拉列表框和下拉列表</h1> <form> <p>下拉列表框:请选择电话区号:<select name="s1"> <option value="010">北京</option> <option value="029" selected="selected">西安</option> <option value="028">成都</option> </select> </p> <p>单选列表框:请选择电话区号<select name="s2" size="3"> <option value="010">北京</option> <option value="029">西安</option> <option value="028" selected="selected">成都</option> </select> </p> <p>多选列表框:请选择电话区号:<select name="s3" size="3" multiple="multiple" > <option value="010" selected="selected">北京</option> <option value="029">西安</option> <option value="028" selected="selected">成都</option> </select> </p> </body> </html>
时间: 2024-10-23 17:02:06