-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (73 loc) · 2.53 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>form</title>
<style>
table,th,td
{
border: 2px double;
width:fit-content;
padding: 4px;
}
</style>
</head>
<body>
<form action="" method="post">
<table align="center">
<tr>
<th colspan="2">Registration Form</th>
</tr>
<tr>
<td><label for="studentname">Student's Name</label></td>
<td><input type="text" id="studentname" required></td>
</tr>
<tr>
<td><label for="Fathersname">Father's Name</label></td>
<td><input type="text" id="Fathersname" required></td>
</tr>
<tr>
<td><label for="Mothersname">Mother's Name</label></td>
<td><input type="text" id="Mothersname" required></td>
</tr>
<tr>
<td><label for="DOB">Date of Birth</label></td>
<td><input type="date" id="DOB" required></td>
</tr>
<tr>
<td><label for="Gender">Gender</label></td>
<td>
<label for="male">Male</label>
<input type="radio" name="Gender" id="male" required>
<label for="Female">Female</label>
<input type="radio" name="Gender" id="Female" required>
</tr>
<tr>
<td><label for="Email">Email ID</label></td>
<td><input type="email" name="Email" id="Email" required></td>
</tr>
<tr>
<td><label for="mobileno">Mobile No</label></td>
<td><input type="tel" name="MobileNo" id="mobileno" maxlength="10" required></td>
</tr>
<tr>
<td><label for="address">Address</label></td>
<td><textarea name="address" id="address" cols="20" rows="5" required></textarea></td>
</tr>
<tr>
<td><label for="state">State</label></td>
<td><input type="text" name="State" id="state" required></td>
</tr>
<tr>
<td><label for="city">City</label></td>
<td><input type="text" name="City" id="city" required></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="submit"></td>
</tr>
</table>
</form>
</body>
</html>