This entire section will be devoted to HTML tables. The reason is because tables can be one of the most useful tools in developing web pages. A clear understanding of just how tables work and can be used is important.

For legs and a flat top?

When talking about HTML, a table does not refer to a piece of furniture. A table is a series of rows and columns that create a grid. If you ever played the game Tic-Tac-Toe, you can think of the board as a table with three rows and three columns. The squares that are formed by the intersection of one row and column are called Cells. In the game, a cell is where you would place your X or O.

X   O
  X  
O   X

Why are they so darn useful?

In addition to being able to present information in column format, tables can be used to control the layout of a web page. When using word processors or desktop publishing software you usually have a large amount of control over page layout. If you want to create a page with two or three columns, like a newspaper, it's fairly easy with other software. If you want to create the same effects with HTML, about the only way to acomplish it is with a table. Newer browsers support other means of formatting a page, but the methods are usually specific to a particular browser. Tables are supported by most browsers in use today.

Throughout this tutorial every page has had a red sidebar on the right. In this sidebar I have included helpers, like the professor. The method used to create this effect is with a table. On every page there is a table consiting of one row and two columns. The main information is included in the first cell and the sidebar is the second cell.

Table of Contents