| This tutorial will teach you how to use tables within | | | | type the following code: |
| your html documents. A Table is started with thetag | | | | Now that we understand the basic structure system, |
| and is ended with thetag, in between these we have | | | | we will need to add content to the table. This is a |
| theand the tags, atag is the table row and the tag is | | | | very simple task, all you need to do is type what |
| the table column, thetag must be before the tags | | | | you want in between the tags, I will note know that |
| and theclosing tag must be after the , here is an | | | | with tags it does not matter whether the tag is or or |
| example. | | | | even . Here is an example of putting content into the |
| If you put this into your webpage as well as the | | | | page. |
| structure of the site i.e the etc then load the page | | | | Item 1 Item 2 |
| up you will be able to see the table with two | | | | Now if you load up your page, there will be item 1 |
| columns. There are two other tags to mention | | | | and item 2, but unless you highlight them you wont |
| regarding tables at this point and they are, Cell | | | | be able to see the text as they are by default in |
| Spacing and Cell Padding. Basically he padding makes | | | | black text and our background colour is black, so this |
| the table area bigger without changing what the | | | | moves us onto the next subject. Firstly we will want |
| border looks like, it only changes the size, the cell | | | | to change the colour of the text, we will also change |
| spacing adds a blank area around the table, and the | | | | the size and the actual font to Arial instead of Times |
| higher the pixel spacing the more white around the | | | | new Roman. |
| table. In order to add cell spacing and cell padding | | | | |