-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.html
More file actions
64 lines (52 loc) · 1.94 KB
/
forms.html
File metadata and controls
64 lines (52 loc) · 1.94 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
<!DOCTYPE html>
<html>
<head>
<title>Student Registration Form</title>
</head>
<body>
<form>
<fieldset>
<legend><h2>Student Registration</h2></legend>
Full Name:
<input type="text"><br><br>
Email Address:
<input type="email"><br><br>
Password:
<input type="password"><br><br>
<label>Gender:
<label><input type="radio" name="gender"> Male</label>
<label><input type="radio" name="gender"> Female</label>
<label><input type="radio" name="gender"> Other</label>
<br><br>
</label>
<label>Hobbies:
<label><input type="checkbox" name="hobby"> Reading</label>
<label><input type="checkbox" name="hobby"> Sports</label>
<label><input type="checkbox" name="hobby"> Music</label>
<label><input type="checkbox" name="hobby"> Coding</label>
</label>
<br><br>
<label>Date of Birth:
<input type="date" name="dob"><br><br>
</label>
<label>Department:
<select name="department">
<option value="it">IT</option>
<option value="cs">Computer Science</option>
<option value="ec">Electronics</option>
<option value="mech">Mechanical</option>
</select><br><br>
</label>
<label>Upload Profile:
<input type="file" name="profile"><br><br>
</label>
<label>Address:<br>
<textarea name="address" rows="4" cols="40"></textarea><br><br>
</label>
<input type="checkbox" name="terms"> I agree to the terms<br><br>
<h2 align="center">
<input type="submit" value="Submit" ></h2>
</fieldset>
</form>
</body>
</html>