-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWeek 3 Assignment.html
More file actions
42 lines (34 loc) · 1.43 KB
/
Week 3 Assignment.html
File metadata and controls
42 lines (34 loc) · 1.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Registration Form</title>
</head>
<body>
<h2>Student Registration Form</h2>
<form action="" method="">
<label for="name">Name:</label><br>
<input type="text" id="name" name="name" required><br><br>
<label for="dob">Date of Birth:</label><br>
<input type="date" id="dob" name="dob" required><br><br>
<label for="gender">Gender:</label><br>
<select id="gender" name="gender" required>
<option value="">Select Gender</option>
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select><br><br>
<label for="address">Address:</label><br>
<textarea id="address" name="address" rows="6" cols="55" required></textarea><br><br>
<label for="telephone">Telephone:</label><br>
<input type="tel" id="telephone" name="telephone" required><br><br>
<label for="email">Email Address:</label><br>
<input type="email" id="email" name="email" required><br><br>
<label for="course">Course:</label><br>
<input type="text" id="course" name="course" required><br><br>
<button type="submit">Submit</button>
<button type="reset">Cancel</button>
</form>
</body>
</html>