Write a program using HTML to design Monday time-table with 3 columns
(Sr.No., Time & Monday). Add 5 rows with the given headings & 4 subjects with timings
Answers
Answered by
0
Answer:
Explanation:
<!DOCTYPE html>
<html>
<style>
table, th, td {
border:1px solid black;
}
</style>
<body>
<table style="width:100%">
<tr>
<th>S. No</th>
<th>Time</th>
<th>Monday</th>
</tr>
<tr>
<td>1</td>
<td>9-10</td>
<td>Subject 1</td>
</tr>
<tr>
<td>2</td>
<td>10-11</td>
<td>Subject 2</td>
</tr>
<tr>
<td>3</td>
<td>11-12</td>
<td>Subject 3</td>
</tr>
<tr>
<td>4</td>
<td>12-1</td>
<td>Subject 4</td>
</tr>
</table>
</body>
</html>
Similar questions