Certified HTML Designer Learning Resources Nested Tables

Learning Resources
 

Nested Tables


The largest, most complicated tables will often involve “nesting” individual tables inside one another to get the desired layout. This is tricky, due to the amount of tags you have to juggle, and get in the right order. Here’s a simple example of a nested table:

First cell in first table. The cell to the right has the second table in it.
nested table
nested table

The code to create that, basically, goes like this (the second table code is indented):

First cell in first table. The cell to the right has the second table in it.
First cell in first table. The cell to the right has the second table in it.
nested table
nested table

 For Support