-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlab1.html
More file actions
122 lines (98 loc) · 3.18 KB
/
lab1.html
File metadata and controls
122 lines (98 loc) · 3.18 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lab1.2 </title>
<style>
sup{
color:red;
}
.width{
width: 97%;
}
caption{
caption-side: bottom;
text-align: center;
}
table{
margin:auto;
}
</style>
</head>
<body>
<div class="container">
<form action="abc.php" method="get" >
<table border="1">
<caption><sup>*</sup>Marked are important</caption>
<tr>
<th colspan="4">Student Registration</th>
</tr>
<tr>
<th>
<label for="uname" ><sup>*</sup>First Name</label>
</th>
<td> <input type="text" name="name" id="uname" class="width" required="required"> </td>
<th>
<label for="lname">Last Name</label>
</th>
<td>
<input type="text" name="last" id="lname" class="width">
</td>
</tr>
<tr>
<th>Semester</th>
<th colspan="3">
<select name="sem" >
<option>**select Semester**</option>
<option>I</option>
<option>II</option>
<option>III</option>
<option>IV</option>
<option>V</option>
<option>VI</option>
</select>
</th>
</tr>
<tr>
<th>Faculty</th>
<td colspan="3">
<select name="sem">
<option>**select faculty**</option>
<option>IT</option>
<option>Computer</option>
<option>Civil</option>
<option>Software</option>
</select>
</td>
<tr>
<th>
<label for="Gender"><sup>*</sup>Gender</label>
</th>
<td>
Male<input type="radio" name="gender" value="M" required="required">
Female<input type="radio" name="gender" value="f" required="required">
</td>
</tr>
<tr>
<label for="email">
<th><sup>*</sup>Email</th>
</label>
<td colspan="3">
<input type="email" name="email" id="email" class="width" required="required">
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="submit">
</td>
<td>
<input type="reset" value="reset">
</td>
</tr>
</table>
</form>
</div>
</body>
</html>