Nepal Agricultural Research Council2080 BSQuestion 9 of 10
Write HTML codes to design the following table.
10 marks
Question source
- Exam year
- 2080 BS / 2023 AD
- Level
- Level 5 (T-5, Prabidhik, Computer Sahayak)
- Paper
- D-3 – Subjective
- Section
- Section C
Model answer
Required table: caption "Marks Sheet", header row + 3 data rows, 5 columns.
<!DOCTYPE html>
<html>
<head><title>Marks Sheet</title></head>
<body>
<h2>Marks Sheet</h2>
<table border="1" cellpadding="5" cellspacing="0">
<tr>
<th>Roll No.</th><th>Name</th><th>English</th><th>Math</th><th>Science</th>
</tr>
<tr>
<td>1001</td><td>Krishna Prasad Neupane</td><td>55</td><td>66</td><td>77</td>
</tr>
<tr>
<td>1002</td><td>Hari Prasad Sharma</td><td>70</td><td>70</td><td>55</td>
</tr>
<tr>
<td>1003</td><td>Shyam Bahadur Chhetri</td><td>66</td><td>80</td><td>65</td>
</tr>
</table>
</body>
</html>
<th> bolds headers; border shows grid. In exam keep tags closed and spell names exactly as given.