-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforme.html
More file actions
48 lines (41 loc) · 1.5 KB
/
Copy pathforme.html
File metadata and controls
48 lines (41 loc) · 1.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form</title>
</head>
<body>
<h1>Enhanced HTML Form</h1>
<form action="/submit" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<br>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<br>
<label for="phone">Phone:</label>
<input type="tel" id="phone" name="phone" required>
<br>
<label for="dob">Date of Birth:</label>
<input type="date" id="dob" name="dob" required>
<br>
<label for="address">Address:</label>
<textarea id="address" name="address" rows="4" required></textarea>
<br>
<label for="gender">Gender:</label>
<select id="gender" name="gender">
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select>
<br>
<label for="preferences">Preferences:</label>
<input type="checkbox" id="option1" name="preferences" value="option1"> Option 1
<input type="checkbox" id="option2" name="preferences" value="option2"> Option 2
<input type="checkbox" id="option3" name="preferences" value="option3"> Option 3
<br>
<input type="submit" value="Submit">
</form>
</body>
</html>