-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRegistration form
127 lines (94 loc) · 2.26 KB
/
Registration form
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
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{background-color: darkslategrey;
align-items: center;
align-content: center;
justify-content: center;
padding: 0px;
margin: 0px;
}
h1{text-align: center;
margin-top: 5%;
}
form{
text-align: center;
font-size: x-large ;
background-color: white;
max-width: 800px;
padding: 30px;
margin: auto;
border-radius:20px;
}
label{
text-align: center;
font-size: large;
max-width: 800px;
font: arial;
}
input,Select,textarea{
width: 95%;
padding: 10px;
margin-bottom: 5px;
border-radius: 4px;
}
</style>
</head>
<body>
<h1>Student Registration form</h1>
<form id=registrationForm>
<label for="rollNumber">Roll Number</label><br>
<input type="int" id="rollNumber" placeholder="Enter 7 digit rollNumber">
<br>
<br>
<label for="student name">Student Name </label><br>
<input type="text" id="name" placeholder="Enter student name">
<br>
<br>
<label for="email">Email</label><br>
<input type="email" id="email" placeholder="Enter your email">
<br>
<br>
Gender:
<br>
<label for="male">Male</label>
<input type="radio" id="male" name="gender" value="male">
<br>
<label for="female">Female</label>
<input type="radio" id="female" name="gender" value="female">
<br>
<br>
<label for="dob">Date of Birth</label><br>
<input type="date" id="dob" name="Date of Birth" placeholder="DD-MM-YYYY">
<br><br>
Language:<br>
<label for="hindi">Hindi</label>
<input type="checkbox" id="hindi" name="language" value="Hindi">
<br>
<label for="English">English</label>
<input type="checkbox" id="English" name="language" value="English">
<br>
<br>
<label for="course">Select Course</label>
<select id="course" name="course">
<option value="C.S">C.S</option>
<option value="BCA">BCA</option>
<option value="Mathamatics">Mathamatics</option>
<option value="B.A">B.A</option></select>
<br>
<br>
<label for="address">Address</label><br>
<textarea id="address" name="address" rows="4" placeholder="Enter your Address" ></textarea>
<br>
<br>
<input type="submit" value="Submit">
<br>
<br>
<input type="reset" value="Reset">
</form>
</body>
</html>