-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (44 loc) · 1.66 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form Assignment 3</title>
</head>
<body>
<form action="">
<legend>Personal details</legend>
<label for="salutation">Salutation</label>
<br>
<select id="salutation" name="slautation">
<option value="None">--None--</option>
<option value="Mr.">Mr.</option>
<option value="Mrs.">Mrs.</option>
</select>
<br><br>
<label for="firstname">First Name:</label>
<input type="text" id="firstname" name="First Name" required placeholder="Enter Your First Name">
<br><br>
<label for="lastname">Last Name:</label>
<input type="text" id="lastname" name="Last Name" required placeholder="Enter Your Last Name">
<br><br>
<label for="gender">Gender:</label>
<input type="radio" id="gender" name="gender" value="male">
<label for="gender">Male</label>
<input type="radio" id="gender" name="gender" value="female">
<label for="gender">Female</label>
<br><br>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required placeholder="abc@gmail.com">
<br><br>
<label for="dob">Date of birth:</label>
<input type="date" id="dob" name="date of birth">
<br><br>
<label for="address">Address:</label>
<br>
<textarea name="Address" id="address" cols="30" rows="5"></textarea>
<br><br>
<input type="submit">
</form>
</body>
</html>