-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMarksheet.html
More file actions
144 lines (141 loc) · 3.5 KB
/
Marksheet.html
File metadata and controls
144 lines (141 loc) · 3.5 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>First Term Exam Result</title>
<style>
table {
width: 90%;
table-layout: auto; /* Ensures flexibility in column widths */
border-collapse: collapse;
margin: 20px auto;
text-align: center;
font-family: Arial, sans-serif;
}
th, td {
border: 1px solid black;
padding: 10px;
word-wrap: break-word; /* Wraps text to stay inside cells */
vertical-align: middle; /* Aligns text vertically */
}
th {
background-color: #f2f2f2;
}
caption {
font-weight: bold;
font-size: 1.5em;
margin-bottom: 10px;
}
.header {
font-style: italic;
text-align: center;
font-size: 1.2em;
}
.photo {
text-align: center;
}
.photo img {
width: 120px;
height: auto;
}
.subject-col {
width: 20%; /* Adjust column width for subjects */
}
.score-col {
width: 10%; /* Equal width for score-related columns */
}
.photo-col {
width: 25%; /* Dedicated width for the photo column */
}
</style>
</head>
<body>
<div class="header">Your College Name</div>
<div class="header">First Term Exam Result</div>
<table>
<tr>
<td colspan="1">Name</td>
<td colspan="2">Ram Bahadur</td>
<td rowspan="1" class="photo photo-col">
<img src="https://www.hindustantimes.com/ht-img/img/2024/09/11/550x309/IShowSpeed_1726051033695_1726051042184.jpg" alt="Student Photo">
</td>
</tr>
<tr>
<td colspan="1">Roll Number</td>
<td colspan="2">525</td>
</tr>
<tr>
<th class="subject-col" rowspan="2">Subject</th>
<th class="score-col" colspan="2">Total</th>
<th class="score-col" colspan="2">Obtained</th>
</tr>
<tr>
<th class="score-col">Theory</th>
<th class="score-col">Practical</th>
<th class="score-col">Theory</th>
<th class="score-col">Practical</th>
</tr>
<tr>
<td>Physics</td>
<td>100</td>
<td>25</td>
<td>65</td>
<td>20</td>
</tr>
<tr>
<td>Chemistry</td>
<td>100</td>
<td>25</td>
<td>85</td>
<td>25</td>
</tr>
<tr>
<td>Biology</td>
<td>100</td>
<td>25</td>
<td>60</td>
<td>20</td>
</tr>
<tr>
<td>Mathematics</td>
<td>100</td>
<td>-</td>
<td>85</td>
<td>-</td>
</tr>
<tr>
<td>English</td>
<td>100</td>
<td>25</td>
<td>55</td>
<td>20</td>
</tr>
<tr>
<th>Total</th>
<th>500</th>
<th>100</th>
<th>350</th>
<th>90</th>
</tr>
<tr>
<th colspan="3">Grand Total</th>
<td colspan="2">600</td>
</tr>
<tr>
<th colspan="3">Percentage</th>
<td colspan="2">73.33%</td>
</tr>
<tr>
<th colspan="3">Division</th>
<td colspan="2">First</td>
</tr>
<tr>
<th colspan="3">For More Info</th>
<td colspan="2">
<a href="https://kist.edu.np/" target="_blank">Kist College & SS</a>
</td>
</tr>
</table>
</body>
</html>