Table Tutor  
by Joe Barta
Also available: Form Tutor, Frames Tutor and for the novice - So, you want to make a Web Page!
This tutorial is one in a series of PageTutor tutorials and is also available for download. Learn in the comfort and privacy of your own home. No salesman will visit.

Hello. My name is Joe Joe and I'm going to give you a few simple lessons on how to make tables for your web documents. You might be thinking that a table is simply one of these but if you've ever seen some of them fancy-like web pages you might be interested to find out that they make good use of the <table> tags! Just to illustrate, here is the same page with a gray background and the table borders turned on.

The whole mess basically has only 3 tags...

<table> The main tag. Used to tell the browser "this is a table", along with some attributes like size, border width and a few other things.
<tr> Table Row defines a horizontal row of <td> (Table Data) cells.
<td> Specifies an individual block or cell in a table row.

To paraphrase: A table is made up of rows which in turn are made up of cells...

<--this-- ----is--- ----a---- --table-- ---row-->
  cell     cell

Well, that's tables in a nutshell. You are now ready to make some tables! Now's a good time to stress that if you want to learn how to make quality html documents, then you would be well served to take the time to teach yourself the tags. If you rely on the so-called "table wizards" in the "easy as pie html editors" out there, you will have greatly limited flexibilty, and the end result may not be what you are trying to achieve. In my opinion the best html editors to use are text based editors or just plain text editors. I use NoteTab Pro... easily one of the most powerful text editors on the planet (and probably a few other planets as well ;-)

And while you're at it, grab yourself a copy of the Firefox web browser. It's free and it has some very useful tools for the web developer. I use it all the time and enthusiastically recommend it.
PageTutor - Table Tutor
Lessons: Intro 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Tables Quick Reference      Barebones HTML Guide
Print version of this tutorial available - Get the PageTutor book & CD
ZDNet Editor's Pick SoftSeek Editor's Pick WebHost Magazine Buyer's Choice - Get It!