-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path4.html表单.html
40 lines (33 loc) · 1.2 KB
/
4.html表单.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>表单</title>
</head>
<body>
<form>
<label for="username"></label>用户名:</label>
<input type="text" name="" id="username" placeholder="请输入用户名">
<br><br>
<label for="pwd">密码:</label>
<input type="password" name="" id="pwd" placeholder="请输入密码">
<br><br>
<label for="">性别:</label>
<input type="radio" name="gender">男
<input type="radio" name="gender">女
<input type="radio" name="gender">其他
<br><br>
<label for="">爱好:</label>
<input type="checkbox" name="hobby" id="">唱歌
<input type="checkbox" name="hobby" id="">跑步
<input type="checkbox" name="hobby" id="">游泳
<br><br>
<input type="submit" value="上传">
</form>
<form style="width: 10px;background-color: bisque;">
<label for="姓名"></label>
<input type="text" id="姓名" placeholder="请输入姓名" style="width: 20px">
</form>
</body>
</html>