码迷,mamicode.com
首页 > Web开发 > 详细

html--表单

时间:2018-09-15 20:04:58      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:student   input   end   birt   bsp   html   teacher   field   sele   

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>information survey</title>
</head>
<body>
    <form action="" method="get">
        <fieldset>
            <legend>information survey</legend>
            name:<br>
            <input type="text" name="name"><br>
            birthday:<br>
            <input type="text" name="birthday"><br>
            sex:<br>
            <select name="work">
                <option value="teacher">teacher</option>
                <option value="police">police</option>
                <option value="student">student</option>
                <option value="others">others</option>
            </select>
            <br>
            sex:
            <input type="radio" name="sex" value="male">male
            <input type="radio" name="sex" value="female">female
            <br>
            <input type="submit" value="Subscribe">
        </fieldset>
    </form>
</body>
</html>

html--表单

标签:student   input   end   birt   bsp   html   teacher   field   sele   

原文地址:https://www.cnblogs.com/925039847z/p/9651923.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!