-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforms.html
76 lines (58 loc) · 1.86 KB
/
forms.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<!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>
<h1>students data form</h1>
<form>
<label for="firstname">First Name</label>
<input type="text" required name="firstname">
<br>
<label for="lastname">Last Name</label>
<input type="text" required name="lastname">
<br>
<label for="age">Age</label>
<input type="80" min="18" max="100" required name="age">
<br>
<label gender></label>
<input type="radio" id="male" name="gender" value="male">
<label for="male">Male</label>
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label>
<br>
<label >subject interests</label>
<input type="checkb/label>ox" name="subject">
<label for="math">math</label>
<input type="checkbox" name="subject">
<label for="english">English</label>
<input type="checkbox" name="subject">
<label for="chemistry">chemistry</label>
<br>
<label for="country">country</label>
<select name="country">
<option value="usa">USA</option>
<option value="uk">UK</option>
<option value="china">China</option>
<option value="japan">Japan</option>
</select>
<br>
<label for="about"More about you></label>
<textarea name="about" name="about" rows="4" cols="30"></textarea>
<br>
<label for="password">password</label>
<input type="password" name="password">
<br>
<button type="submit">Submit</button>
<br>
<label>DOB</label>
<input type="range" min="0" max="100">
<br>
<label>Favourite color:</label>
<input type="color">
</form>
</body>
</html>