Hi i'm Floyd and i am going teach you how to use Tables Hi i'm Floyd and in this lesson we are going to learn how to use Tables IofM.net Free Internet Service Provider for the Isle of Man
 



Working with Tables


Introduction
Rows and Cells
Your first Table
Colspan
Rowspan
Alignment
Cell Spacing
Table Tricks
  Building your First Table



To make the first basic table I showed you before, just type in this:



<table border>

<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>

<tr>
<td>Cell 3</td>
<td>Cell 4</td>
</tr>

</table>


And here's what the table will look like:

Cell 1 Cell 2
Cell 3 Cell 4

As you can see, the first table row encloses cells 1 and 2; the second table row encloses cells 3 and 4. Table rows always run horizontally. The contents of each cell - in this case, the words "Cell 1" or "Cell 2" - are sandwiched between the <td> and </td> tags.

In order to see the table, we added border to the table tag. This simply turns the border on. You can also specify its width by adding a number, as in <table border=5>. You can get rid of the border by typing in border=0.


Previous Page Back Next Next Page


Index / Lesson One / Lesson Two / Lesson Three / Lesson Four