In assignment 1, a question told me create a table structure as shown below using colspan and rowspan attributes. but I could not make the table. here is my code:-
But still using this code I could not make the same table as the question told me.
<body>
<caption>This a Table</caption>
<table>
<thead>
<tr>
<th>ID</th>
<th>FIRST</th>
<th>LAST</th>
<th>INCOME</th>
<th>ADDRESS</th>
<th>SAVING</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="2">1</td>
<td colspan="2">ABC</td>
</tr>
<tr>
<!-- <td>1</td> -->
<td>AB</td>
<td>ABC</td>
<td>ABCD</td>
<td>ABCDE</td>
<td>ABCDEF</td>
</tr>
<tr>
<td>2</td>
<td>AB</td>
<td>ABC</td>
<td>ABCD</td>
<td>ABCDE</td>
<td>ABCDEF</td>
</tr>
<tr>
<td>3</td>
<td>AB</td>
<td>ABC</td>
<td>ABCD</td>
<td>ABCDE</td>
<td>ABCDEF</td>
</tr>
<tr>
<td>4</td>
<td>AB</td>
<td>ABC</td>
<td>ABCD</td>
<td>ABCDE</td>
<td>ABCDEF</td>
</tr>
<tr>
<td>5</td>
<td>AB</td>
<td>ABC</td>
<td>ABCD</td>
<td>ABCDE</td>
<td>ABCDEF</td>
</tr>
</tbody>
</table>
</body>