File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+
4
+ < head >
5
+ < meta charset ="UTF-8 ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
+ < meta http-equiv ="X-UA-Compatible " content ="ie=edge ">
8
+ < title > 表格案例</ title >
9
+
10
+ </ head >
11
+ < body >
12
+ < p >
13
+ <!-- size="50"按文字个数确定宽度 -->
14
+ < input type ="text " placeholder ="请输入用户名 " name ="user " value ="">
15
+ < input type ="password ">
16
+ < input type ="email ">
17
+ 手机号码< input type ="text ">
18
+
19
+ < input type ="radio " name ="sex " value ="男生 ">
20
+ < input type ="radio " name ="sex " value ="女生 " checked >
21
+
22
+ < input type ="checkbox " name ="hobby[] " checked value ="basketball ">
23
+ < input type ="checkbox " name ="hobby[] " checked value ="scrool ">
24
+ < input type ="checkbox " name ="hobby[] " value ="sghrool ">
25
+
26
+ < input type ="hidden " name ="uid ">
27
+ <!-- accept限制类型 -->
28
+ <!-- 上传文件时,务必添加表单属性enctype="multipart/form-data" -->
29
+ 上传头像< input type ="file " name ="pic " accept =".jpg,.jpeg,.png,.html ">
30
+ 上传头像< input type ="file " name ="pic " accept ="image/* ">
31
+ < input type ="color " >
32
+ < input type ="number ">
33
+ < input type ="range ">
34
+ < input >
35
+ < p > </ p >
36
+
37
+ </ p >
38
+ </ body >
You can’t perform that action at this time.
0 commit comments