HTML Tables used to be THE WAY web designers would create complex designs.  Even today many websites employ tables for layout of the website.  While I much prefer the faster and cleaner CSS method of creating web page layouts, understanding Tables will help you gain valuable insight into web programming and page layout.

The following graphic illustrates the main takeaway from tables. TR designates a Table Row, while TD designates a Table Data Cell. Table Rows contain one or more Table Data Cells. There is no real thing as a “table column” tag. Several rows containing several table data cells make up rows and columns.

HTML Tables

HTML Tables

Here is a quick overview of tables with a couple of graphics along with a 30 minute “crash course” video tutorial on how to create tables with rowspans and colspans.  Rowspan and colspan are the attribute tags used in tables to “merge” cells or rows together.

Here is an example of a table with column and rowspans:

1
3
5 6
8

Watch the following video for a complete introduction and code examples.

Get the Flash Player to see this content.

Download the video file with quicktime.
tables