What is a table?

I use tables all over my website, including this page! They are great to separate information and you can make them in any color and you can add backgrounds and use different border sizes. Tables make any website look great and add a professional look without any hard work. They are basically just borders around groups of information. They can also be used as an alternate for frames. You can use many tables on a web site. You can also have cells in it to separate information. They are very useful.

What is the code for a basic table?

This basic table also has colors and a border. This is the code for a basic table:

The number of borders can be any number

How do you add multiple borders that are different colors?

To add multiple borders that are different colors, you just add this to the existing tag above. You just add it after the first table border tag. This is what the tag will look like after adding the second tag:

How do you change the dimensions of the table?

If you want the dimensions to fit how much information you are going to have you can just leave it and the table will expand to fit the information. If you want set dimensions you just add the dimension tag to the original tags, which are rows and columns. Remember to make the percents add up to 100%. Here is the tag for that:

How do I make a text area?

To make a text area, like the ones that I have all over my web site, you use this simple tag. For this, you have to put the dimensions in:

How do I make a basic table with cells?

Cells separate information into different groups within the big table. The tag is the same, but all you have to add are cell tags:

Here is an example
cell 1 cell 2

How do I add different numbers of rows?

To add different numbers of rows horizontally and vertically, it depends on the <tr> tags. The first one tells the number of rows vertically, so it tells how many cells you will have going left to right, or east to west. You can keep adding as many cells as you want going horizontally. To add them up and down, or north to south, you keep adding more <tr> tags until you have as many rows as you want vertically. I know this rounds really confusing, because, trust me, it's confusing to me also. But once you understand it and look at the tags, it is really easy!

How do I add a border to my table?

To add a border to your table, you just add the table border tag, like the one I used in the tables at the beginning. You can make them any color you want:

This is an example

Flawless
The best web page Help



Copyright 2000-2003 Flawless Web Page Help. All Rights Reserved.
Hosted by www.Geocities.ws

1