HTMLisEasy.com
HTML tutorials for the rest of us...

Can we have a table within a table?

Let's try. Start with little Ed.

<table border="3">
<tr>
<td>Ed</td>
</tr>
</table>
Ed

Make the table a fuzz bigger.

<table border="3" width="200" height="100">
<tr>
<td>Ed</td>
</tr>
</table>
Ed

Replace Ed with a complete "little Ed" table

<table border="3" width="200" height="100">
<tr>
<td>

<table border="3">
<tr>
<td>Ed</td>
</tr>
</table>

</td>
</tr>
</table>
Ed

Well, howa bout that!


We can center our table...

<table border="3" width="200" height="100" align="center">
<tr>
<td>

<table border="3">
<tr>
<td>Ed</td>
</tr>
</table>

</td>
</tr>
</table>
Ed

And we can center the table within the table...

<table border="3" width="200" height="100" align="center">
<tr>
<td align="center">

<table border="3">
<tr>
<td>Ed</td>
</tr>
</table>

</td>
</tr>
</table>
Ed
<< BACK NEXT >>
Table Tutor
Lessons: Intro 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Tables Quick Reference
HTML 4.0 Reference      Barebones HTML Guide