1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title></title>
6 </head>
7 <body>
8 <form action="http://www.miaov.com">《提交以后的网站》
9 <p>
10 <label for="user_name">用户名:</label>《label是标注的标签》
11 <input type="text" name="user_name" value="" id="user_name" disabled="disabled" />《disabled=“disabled的时候名字就不能修改”》
12 </p>
13 <p>
14 <label for="pw">密码:</label>
15 <input type="password" name="password" value="" id="pw" />
16 </p>
17 <p>
18 <label for="">性别:</label>
19 <input type="radio" name="sex" value="men" checked="checked" />男《checked=“checked”这句话就是必须选的意思,自动勾选了》
20 <input type="radio" name="sex" value="women" />女
21 </p>
22 <p>
23 <label for="">兴趣:</label>
24 <input type="checkbox" name="xingqu" value="chi" checked="checked" />吃
25 <input type="checkbox" name="xingqu" value="shuijiao" />睡觉
26 <input type="checkbox" name="xingqu" value="dadoudou" />打豆豆
27 </p>
28 <p>
29 <input type="submit" />
30 <input type="reset" />
31 </p>
32 </form>
33 </body>
34 </html>