-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.html
More file actions
87 lines (66 loc) · 2.11 KB
/
forms.html
File metadata and controls
87 lines (66 loc) · 2.11 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html>
<head>
<title> Forms </title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial- scale=1">
<link rel="stylesheet" type="text/css" href="css/styles.css">
</head>
<body>
<h1>Register</h1>
<form action="" method="">
<div>
<label for="first_name">First Name:</label>
<input type="text" id="first_name" placeholder="John" required>
<label for="last_name">Last Name:</label>
<input type="text" id="last_name" placeholder="Smith" required>
</div>
<div>
<label for="gender"></label>
<label for="male">Male</label>
<input type="radio" name="gender" id="male" value="M">
<label for="female">Female</label>
<input type="radio" name="gender" id="female" value="F">
<label for="other">Other</label>
<input type="radio" name="gender" id="other" value="O">
</div>
<div>
<label for="email">Email:</label>
<input id="email" name="email" type="email" placeholder="your email" required>
<label for="password">Password:</label>
<input id="password" name="password" type="password" placeholder="your password" minlength="5" maxlength="10" required>
</div>
<div>
<select name="month" id="">
<option value="">Month</option>
<option value="JAN">JAN</option>
<option value="FEB">FEB</option>
<option value="MAR">MAR</option>
<option value="APR">APR</option>
<option value="MAY">MAY</option>
<option value="JUN">JUN</option>
<option value="JUL">JUL</option>
<option value="AUG">AUG</option>
<option value="SEP">SEP</option>
<option value="OCT">OCT</option>
<option value="NOV">NOV</option>
<option value="DEC">DEC</option>
</select>
<select name="day" id="">
<option value="">Day</option>
<option value="1">1</option>
</select>
<select name="year" id="">
<option value="">Year</option>
<option value="1990">1990</option>
</select>
</div>
<div>
<label for="terms">I agree to the terms and conditions</label>
<input type="checkbox" name="" id="terms">
</div>
<input type="submit">
</form>
<script src="js/script.js"></script>
</body>
</html>