making table for marks of some student from different class using table in HTML and CSS
<!doctype html>
<html>
<head>
<title>
</title>
</head>
<body style="background-color:pink";>
<Table align= "center"; style="color:black; "border="2" cellpadding="12" cellspacing="12" >
<caption style="color:black";>
Marks For students
</caption>
<th style="background-color:blue";> S number</th>
<th style="background-color:orange">Name</th>
<th style="background-color:red">class</th>
<th style="background-color:green">Marks</th>
<th style="background-color:yellow">percentage</th>
<tr>
<td rowspan="2" >1</td>
<td>ram</td>
<td>8th</td>
<td> 96</td>
<td> 91%</td>
</tr>
<tr>
<td>Raman</td>
<td>9th</td>
<td> 92</td>
<td>87%</td>
</tr
<tr>
<td>3</td>
<td>Rishi</td>
<td>11th</td>
<td>58</td>
<td>76%</td>
</tr>
<tr>
<td>4</td>
<td> Manish</td>
<td>6th</td>
<td>84</td>
<td>83%</td>
</tr>
</table>
</body>
Comments
Post a Comment