-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
52 lines (49 loc) · 1.64 KB
/
form.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
<!DOCTYPE html>
<html>
<head>
<title>My First Webpage</title>
<body>
<h1>Registration Form</h1>
<div id="reg-form">
<form action=""method="">
<label for="First Name:"></label>
<input type="text" name="First_Name" placeholder="Akshay"required>
<label for="Last Name:"></label>
<input type="text" name="Last_Name" placeholder="Shriwaskar"required>
<div>
<label for="gender-male">Male</label>
<input type="radio" name="gender-choice" value="choice-1">
<label for="gender-female">Female</label>
<input type="radio" name="gender-choice" value="choice-2">
<label for="gender-other">Other</label>
<input type="radio" name="gender-choice" value="choice-3">
</div>
<div>
<label for="email">Email</label>
<input type="email" name="email" placeholder="xyz@gmail.com">
<label for="Password">Password</label>
<input type="Password" name="Password" placeholder="">
</div>
<div>
<label for="Month">Birthday</label>
<select name="Month">
<option value="Jan">January</option>
<option value="Feb">February</option>
<option value="Mar">March</option>
<option value="Apr">April</option>
<option value="May">May</option>
<option value="Jun">June</option>
<option value="July">July</option>
<option value="Aug">August</option>
<option value="Sep">September</option>
<option value="Oct">October</option>
<option value="Nov">November</option>
<option value="Dec">December</option>
</select>
</div>
<label for="agree">I agree to all the conditions of the form</label>
<input type="checkbox" name="agree">
<button type="submit">Submit</button>
</form>
</body>
</html>