下拉列表

下拉列表框也称为选项框让用户在下拉列表中选择其中一个选项

<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <div>TODO write content</div>
        <form action="http://www.example.com/profile.php">
            <p>选择下列中的一个选项</p>
            <select name="devices">
                <option value="ipod">第一个</option>
                <option value="radio">第二个</option>
                <option value="computer">第三个</option>
            </select>
        </form>
    </body>
</html>

 

posted @ 2018-07-26 17:37  梦人亭  阅读(155)  评论(0编辑  收藏  举报