-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
54 lines (52 loc) · 1.56 KB
/
Copy pathform.html
File metadata and controls
54 lines (52 loc) · 1.56 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>表单</title>
</head>
<body>
<!--表达上传的URL,以及上传的方式,get post -->
<form action="url" method="get">
<!--用户输入的用户类型,名字name-->
<label>
姓名:
<input type="text" name="user"/>
<!--换行-->
<br/>
密码:<input type="password" name="pwd"/>
<br/>
<!--设置单选按钮-->
<input type="radio" name="sex" checked="checked"/>男
<input type="radio" name="sex"/>女
<br/>
<!--手机号-->
手机号:<input type="tel" name="tel"/>
<br/>
<!-- 复选框 -->
爱好:<input type="checkbox" name="hobby"/>python
<input type="checkbox" name="hobby"/>C
<input type="checkbox" name="hobby"/>C++
<br>
<!--下拉列表 -->
国籍:
<select>
<option>中国</option>
<option>美国</option>
<option>俄罗斯</option>
</select>
<br/>
<!-- 多行介绍框 -->
<textarea rows="4" cols="50">表单</textarea>
<br>
<!--上传文件-->
<input type="file"/>
<br/>
<!--重置-->
<input type="reset" value="重置"/>
<!--提交-->
<input type="submit" value="提交"/>
<br>
</label>
</form>
</body>
</html>