-
Notifications
You must be signed in to change notification settings - Fork 3
/
index6.html
195 lines (176 loc) · 5.53 KB
/
index6.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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<html>
<head>
</head>
<body>
<style>
ul {
float: left;
width: 100%;
padding: 0;
margin: 0;
list-style-type: none;
}
a.cd {
float: left;
width: 7.9em;
text-decoration: none;
color: white;
background-color: grey;
padding: 0.2em 0.6em;
border-right: 1px solid white;
} h1
{
color : saddlebrown;
background-color: gainsboro;
text-align: center;
font-size: 44px;
margin:0;
padding:0;
}
a.cd:hover {background-color: #ff3300;}
li {display: inline;}
</style>
<style>
div{
background-color: #e0ebeb;
height: auto;
}
/* Full-width input fields */
input[type=text], input[type=password],input[type=Number],input[type=date] {
width: 30%;
padding: 12px 20px;
margin: 8px 0;
height:10px;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
/* Set a style for all buttons */
button {
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 25%;
}
/* Extra styles for the cancel button */
.cancelbtn {
padding: 14px 20px;
background-color: #f44336;
width=25%;
}
body{
background-color: darkgoldenrod;
}
/* Float cancel and signup buttons and add an equal width */
.cancelbtn,.signupbtn {
float: left;
width: 22%;
}
/* Add padding to container elements */
.container {width:100%;
padding: 16px;
}
/* Clear floats */
.clearfix::after {
content: "";
clear: both;
display: table;
height:30px;
}
/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {
.cancelbtn, .signupbtn {
width: 100%;
}
}
</style>
<img src="Untitled.png" alt="some_text" height="13%" width="100%">
<ul>
<li><a class="cd" href="index.html">Home</a></li>
<li><a class="cd" href="index1.html">About us</a></li>
<li><a class="cd" href="index2.html">Academics</a></li>
<li><a class="cd" href="index3.html">Fee</a></li>
<li><a class="cd" href="index4.html">Admissions</a></li>
<li><a class="cd" href="index5.html" >Career</a></li>
<li><a class="cd" href="index6.html" >Register</a></li>
<li><a class="cd" href="index7.html" >Login</a></li>
<li><a class="cd" href="index8.html" >Admin Login</a></li>
</ul>
<style>h1
{
color : blue;
}
label{
min-width:180px;
display: inline-block;
}
</style>
<title>
Register</title>
<h2>Register for Admissions</h2>
<form action="php1.php" method="POST" style="border:1px solid #ccc">
<div class="container">
<fieldset>
<legend>Personal details</legend>
<label><b>Name </b> </label>
<input type="text" placeholder="Enter name" name="sname" required ><br>
<label><b>Father's Name</b></label>
<input type="text" placeholder="Enter Name" name="fname" required ><br>
<label><b>Mother's Name</b></label>
<input type="text" placeholder="Enter Name" name="mname" required ><br>
<label><b>Date of Birth</b></label>
<input type="date" placeholder="Enter DOB in YYYY/MM/DD" name="DOB" required><br>
<label><b>Select Gender</b></label>
<select name="gender">
<option default>Select Gender</option>
<option value="M">Male</option>
<option value="F">Female</option>
</select><br>
<label><b>Address</b></label>
<input type="text" placeholder="Enter Gaurdian Address" name="address" required><br>
</fieldset>
<fieldset>
<legend>Account details</legend>
<label><b>Application No.</b></label>
<input type="Number" placeholder="Enter Application no(10 digit)" pattern="[0-9]{10}" name="appid" required><br>
<label><b>Password</b></label>
<input type="password" placeholder="Enter Password" name="password" required><br>
<label><b>Repeat Password</b></label>
<input type="password" placeholder="Repeat Password" name="repassword" required><br>
</fieldset>
<fieldset>
<legend>Academic details</legend>
<label><b>Course opted</b></label>
<select name="course">
<option value="Def">Select Course</option>
<option value="CSE">Computer Science & Engineering</option>
<option value="Civil Engineering">Civil Engineering</option>
<option value="Chemical Engineering">Chemical Engineering</option>
<option value="Electronics Engineering">Electronics Engineering</option>
<option value="Mechanical Engineering">Mechanical Engineering</option>
<option value="ElectricalEngineering">Electrical Engineering</option>
</select>
<br>
<label><b>10th Marks</b></label>
<input type="Number" placeholder="Enter Board Marks" name="marks1" required pattern="[0-9]{3}"><br>
<label><b>12th Marks</b></label>
<input type="Number" placeholder="Enter Intermediate Marks" name="marks2" required pattern="[0-9]{3}"><br>
<label><b>Entrance Exam marks</b></label>
<input type="Number" placeholder="Enter marks" name="jee" required pattern="[0-9]{3}"><br>
</fieldset>
<br>
<input type="checkbox" checked="checked"> Remember me
<p>By creating an account you agree to our <a href="#">Terms & Privacy</a>.</p>
<div class="clearfix">
<button type="button" class="cancelbtn" >Cancel</button>
<button type="submit" class="signupbtn" value="Submit">Register</button>
</div>
</div>
</form>
<br>
<div><img src="Untitled2.png" alt="some_text" height="13%" width="100%"></div>
</body>
</html>