![]() |
Using Tables
to Construct Web Pages |
![]() |
![]()
The table feature
in HTML is a very versatile tool in constructing Web Pages. Many
of my Web Pages have been constructed using tables, but they are invisible
to the user. Tables are used to control the layout of text and images
on a page. For example, in the Webbits title at the top of this page,
I have used a table to hold the text titles and the butterflies, but the
grid lines are hidden. The flowers on the left are on the page background,
not in the table. The table structure is really something like this:
|
|
||
| Red
Butterfly Image |
Using Tables
to Construct Web Pages |
Blue
Butterfly Image |
From the small table above, notice the following features:
| Let's get
started! |
| Here is a table which horizontally centers a block of text using a fixed cell-width of 380 pixels. |
| Ladybird | Dinosaur | Cow | Crab |
| Ladybird | Dinosaur | Cow | Crab |
| This text in this box will be automatically adjusted so that the table will extend to the full screen-width in whatever screen mode the user is using. |
A
Cell in a Table can contain
|
The Cell below contains another Table |
||
|
|
When I create tables, I use the Netscape Composer which is included with Netscape Navigator. This Web Page Editor contains built-in features for creating tables which are very easy to use. To create a table, just click on the Table Button on the Button Bar, and then, to display the pop-up windows to choose your table properties, click on the right mouse button. When you use a Web Page Editor in this way, you never need to look at the HTML coding when creating tables. The modifications that you make to a table are immediately displayed on the screen.
![]()
| Back
to Webbits
Home Page |
Back one page | Top of this page |
Copyright © 1996 Margaret Brown