Site hosted by Angelfire.com: Build your free website today!

How to Make a Table

This page will be about tables and how to make them:
1
2
3
4
5
6

Here is the code to what I did and then I will try to explain:

<table border=2 bgcolor=blue>
this is the table surrounding the inside table
<tr>
<td>
<table border=1>
The beginning of the inside table
<tr>
The beginning of the first row
<td width=100 height=100>
The beginning of the first cell where you want to put the data or information
<center>1<center>
The end of the cell
</td>
<td width=100 height=100>
The beginning of the second cell where you want to put the data or information
<center>2</center>
The end of the second cell
</td>
<td width=100 height=100>
The beginning of the third cell that you want to put the data or information
<center>3</center>
The end of the third cell
</td>
The end of the row
</tr>
The beginning of the second row
<tr>
<td width=100 height=100>
The beginning of the forth cell where you want to put the data or information
<center>4</center>
The end of the forth cell
</td>
<td width=100 height=100>
The beginning of the fifth cell where you want to put the data or the informtion
<center>5</center>
The end fo the fifth cell
</td>
<td width=100 height=100>
The beginning of the sixth cell where the data or information goes
<center>6</center>
</td>
The end of the sixth cell
</tr>
The end of the second row
</tableThe end of the inside table

</td width=100 height=100>
</tr>
</table>The end of the outside table

Let me explain:
1.table-is the name of the what you are making or the outside appearance of the table. This is where you put your information like border size, bgcolor, height, width, cellpadding, cellspacing, and alignment.

2.tr-is the table row. Each time you want to change a table row you first have to open a statement and close it at the end of that row. Then reopen again at the beginning of the next row.

3.td-is the table data and it tells the table where you want the data or information at.


Hint: All the information that you want people to see comes after the <td> tag. When you are done with that information or data close it </td>

Hint: Asign height and width so it looks even

Hint: Make table first and then insert your information after it is done


Home Page