-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathform.html
More file actions
33 lines (33 loc) · 1.46 KB
/
form.html
File metadata and controls
33 lines (33 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head></head>
<body>
<form action="" method="POST">
<label for="username">用户名:</label>
<input type="text" name="username" id="username"><br/>
<label for="password">密码:</label>
<input type="password" name="password" id="password"><br/>
<label>性别:</label>
<input type="radio" name="sex" id="sex1" value="1">
<label for="sex1">男</label>
<input type="radio" name="sex" id="sex2" value="1">
<label for="sex2">女</label>
<label>兴趣:</label>
<input type="checkbox" name="interest" id="interest1" value="1">
<label for="interest1">登山</label>
<input type="checkbox" name="interest" id="interest2" value="2">
<lable for="interest2">看电影</lable>
<input type="checkbox" name="interest" id="interest3" value="3">
<label for="interest3">听音乐</label><br/>
<label for="role">角色:</label>
<select name="role" id="role">
<option value="0">--请选择:</option>
<option value="1">学生</option>
<option value="2">老师</option>
<option value="3">家长</option>
</select><br/>
<label for="memo">备注:</label>
<textarea name="memo" id="memo" cols="30" rows="10"></textarea>
</form>
</body>
</html>