How to draw a table in html mark of 10 students on 3 subjects (English,Math,Sci)
Answers
<html>
<head>
<title>MARKS SHEET USING HTML TABLES</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="Keywords" content="html, css, html tables, table">
<meta name="Description" content="html table">
<!-- add icon -->
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'></head>
<body>
<div class="container">
<h2>HTML TABLE</h2>
<table>
<thead>
<tr>
<th>Roll No.</th>
<th>Name</th>
<th>English</th>
<th>Maths</th>
<th>Science</th>
<th>Computer Science</th>
<th>Social Studies</th>
<tr>
</thead>
<tbody>
<tr>
<td>01</td>
<td>Ali</td>
<td>86</td>
<td>77</td>
<td>87</td>
<td>92</td>
<td>95</td> <td>95</td>
</tr>
<tr>
<td>03</td>
<td>Shan</td>
<td>86</td>
<td>77</td>
<td>87</td>
<td>92</td>
<td>95</td>
</tr>
<tr>
<td>04</td>
<td>Aliyan</td>
<td>86</td>
<td>77</td>
<td>87</td>
<td>92</td>
<td>95</td>
</tr>
<tr>
<td>05</td>
<td>Zeeshan</td>
<td>86</td>
<td>77</td>
<td>87</td>
<td>92</td>
<td>95</td>
</tr>
</tbody>
<!-- footer
<tfoot>
<tr>
<td colspan=3>Maximum Marks: </td>
<td colspan=3>Marks Obtained: </td>
<td colspan=2>Grade: </td>
</tr>
</tfoot> footer ends-->
</table>
</div>
</body>
</html>