Creating and Using Tables

Tables are the best way to control page layout. They are written as a series of rows and columns. The table width can be specified preventing the browser from squashing the page layout; this gives the designer more control over the design. Another table advantage is the ability to center captions under an image, and to place text or pictures into columns. Strips, blocks, and/or background color or images are placed in tables to increase design style.

To write a basic table:

  1. You first turn on the table
  2. Turn on a table row (tr).
  3. A table row can then have numerous amounts of table data (td) elements.
  4. Every table data must be closed before beginning a new table data.
  5. Close the table row (Remember that whatever code is opened first is the last closed- Just like algebra, work inside out).
  6. If another table row is desired, repeat steps 2-5.
  7. Close the table command.
*It is best to turn on a border (border="1" in the table command) when first learning tables. This allows you to see where each table data element falls.


  • Basic table commands can be found on the code sheet from the introductory lesson.
  • Here are some additional codes to help manipulate tables.

| HORT 605 Index | Syllabus | Course Modules | Teachers | Class Directory | Check Grades | Links | Aggie Horticulture |

| Creating Tables | Creating Frames | Extra Extra! | Glass Dog | Assignment | Course Modules |