-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
125 lines (107 loc) · 3.13 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Student Information</title>
<style>
th, td {
padding: 15px;
border-bottom: 1px solid #ddd;
text-align: left;
}
th {
background-color: #04AA6D;
color: white;
}
tr:nth-child(even) {background-color: #f2f2f2;}
.footer1{
background-color: #04AA6D;
text-align: center;
padding: 2px;
color: white;
}
img{
width: 15%;
height: 15%;
}
table{
border-collapse: collapse;
}
* {
box-sizing: border-box;
}
input[type=text], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
resize: vertical;
}
label {
padding: 12px 12px 12px 0;
display: inline-block;
}
input[type=submit] {
background-color: #04AA6D;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
float: right;
}
input[type=submit]:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<h1 class="w3-wide"><span><center>Student Information</center></span></h1>
<span class="w3-opacity"><i><center>Hosted basic webpage on Github Pages</center></i></span><br><br><br><br>
<div id ="img1">
<img align="right" align="top" src="https://cdn.pixabay.com/photo/2020/07/01/12/58/icon-5359553_1280.png" alt="Italian Trulli">
</div>
<div >
<table >
<tr>
<th>Name</th>
<th>Roll No.</th>
<th>Marks</th>
</tr>
<tr>
<td>Rahul</td>
<td>21</td>
<td>89</td>
</tr>
<tr>
<td>Pranay</td>
<td>22</td>
<td>90</td>
</tr>
</table>
</div><br><br><br><br>
<div>
<form action="">
<label for="fname">Full Name:</label><br>
<input type="text" id="fname" name="fname"><br>
<label for="email">Email:</label><br>
<input type="email" id="email" name="email"><br><br>
<input type="checkbox" id="s1" name="s1" value="subject">
<label for="s1"> SSC</label>
<input type="checkbox" id="s2" name="s2" value="subject">
<label for="s2"> HSC</label>
<input type="checkbox" id="s3" name="s3" value="subject">
<label for="s3">Engg</label><br>
<input type="radio" id="agree" name="terms" value="termsncond">
<label for="agree">Agree To terms and conditions</label><br><br>
<input type="submit" value="Reset">
<input type="submit" value="Submit">
</form> <br><br>
</div>
<!-- Footer -->
<script>
</script>
</body>
<footer class="footer1">
<p> Hey!! This if footer </p>
</footer>
</html>