Site icon Tutorial

Nested Tables

Nested Tables

Tables can be nested inside another table as shown

HTML code Browser output
<table border=”1″>

<tr>

<td>

<table border=”1″>

<tr>

<th>Name</th>

<th>Dues</th>

</tr>

<tr>

<td>Raman</td>

<td>5000</td>

</tr>

<tr>

<td>Shabbir</td>

<td>70000</td>

</tr>

</table>

</td>

<td>

<ul>

<li>List in cell</li>

<li>List in cell</li>

</ul>

</td>

</tr>

<tr>

<td>Row 2, Column 1</td>

<td>Row 2, Column 2</td>

</tr>

</table>

Exit mobile version