-
Notifications
You must be signed in to change notification settings - Fork 0
/
15表单input.html
48 lines (45 loc) · 1.61 KB
/
15表单input.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form action="">
<label for="inp-text">文本框:</label>
<input type="text" name="" id="inp-text" placeholder="请输入用户名">
<br>
<br>
<label for="inp-pwd">密码框:</label>
<input type="password" name="" id="inp-pwd" placeholder="请输入密码">
<br>
<br>
<span>性别:</span>
<input type="radio" name="gender" id="inp-radio-0" checked value="0">
<label for="inp-radio-0">女</label>
<input type="radio" name="gender" id="inp-radio-1" value="1">
<label for="inp-radio-1">男</label>
<br>
<br>
<span>爱好:</span>
<input type="checkbox" name="" id="inp-check-1">
<label for="inp-check-1">唱</label>
<input type="checkbox" name="" id="inp-check-2">
<label for="inp-check-2">跳</label>
<input type="checkbox" name="" id="inp-check-3">
<label for="inp-check-3">rap</label>
<input type="checkbox" name="" id="inp-check-4">
<label for="inp-check-4">篮球</label>
<br>
<br>
<label for="inp-file">上传文件内</label>
<input type="file" name="sub-file" id="inp-file" multiple>
<br>
<br>
<input type="reset" name="sub-reset" id="inp-reset">
<input type="submit" name="sub-sub" id="inp-sub" value="注册">
<input type="button" value="普通按钮">
</form>
</body>
</html>