Приглашаем посетить
Пушкин (pushkin-lit.ru)

Hour 11. Using Tables to Organize and Lay Out Your Pages

Previous Page
Table of Contents
Next Page

Hour 11. Using Tables to Organize and Lay Out Your Pages

One of the most powerful tools for creative web page design is the table, which allows you to arrange text and graphics into multiple columns and rows. This hour shows you how to build HTML tables you can use to control the spacing, layout, and appearance of tabular data in web pages you create. You'll find that tables are not only useful for arranging information into rows and columns, but also useful for laying out images and text on your pages. I also explain how using tables for page layout isn't always the best idea, along with clueing you in on an alternative approach. A table is an orderly arrangement of text and/or graphics into vertical columns and horizontal rows.

Try It Yourself

As you read this hour, think about how arranging text into tables could benefit your web pages. The following are some specific ideas to keep in mind:

  • Of course, the most obvious application of tables is to organize tabular information, such as a multicolumn list of names and numbers.

  • If you want more complex relationships between text and graphics than <img align="left" /> or <img align="right" /> can provide, tables can do it.

  • Tables can be used to draw borders around text or around several graphics images.

  • Whenever you need multiple columns of text, tables are the answer.

    For each of your pages that meets one of these criteria, try adding a table modeled after the examples in this hour. The "Exercises" section at the end of this hour offers a couple of detailed suggestions along these lines as well.


Previous Page
Table of Contents
Next Page