-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudent.php
More file actions
59 lines (59 loc) · 1.4 KB
/
student.php
File metadata and controls
59 lines (59 loc) · 1.4 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
<html>
<head>
<title>Student Registration</title>
<style>
.main
{
width:30%;
margin:2em auto;
border:2px solid black;
padding:1em;
}
.main input[type="submit"]
{
width:95%;
border:1px solid black;
padding:.5em;
margin:.5em;
}
.main input[type="password"]
{
width:95%;
border:1px solid black;
padding:.5em;
margin:.5em;
}
.main input[type="text"],.main input[type="email"]
{
width:45%;
border:1px solid black;
padding:.5em;
margin:.5em;
}
</style>
</head>
<body>
<div class="main">
<form method="post" action="welcome.php">
<h2>Student Registration</h2>
<input type="text" name="fname" placeholder="First Name">
<input type="text" name="lname" placeholder="Last Name">
<input type="email" name="email" placeholder="Email">
<input type="text" name="mobile" placeholder="Mobile">
<input type="text" name="city" placeholder="City"><br>
<hr>
Gender<br>
<input type="radio" name="gender" value="Male">Male<br>
<input type="radio" name="gender" value="female">Female<br>
<hr>
Hobbies<br>
<input type="checkbox" name="hobby[]" value="Cricket">Cricket<br>
<input type="checkbox" name="hobby[]" value="Football">Football<br>
<input type="checkbox" name="hobby[ ]" value="Chess">Chess<br>
<hr>
<input type="Password" name="pass" placeholder="Password"><br>
<input type="submit" name="submit" value="Register">
</form>
</div>
</body>
</html>