Tables

There are many different types of tables. This section will cover one simple 3X3 table, provided by Dr. Smith.

Tables are extremely useful for many things, such as with data and images. Below is an example on how to create a simple 3X3 table.

Begin by defining the number of columns and the width of the table, shown below.
<TABLE BORDER COLS=3 WIDTH="100%" >

Type <TR> for the beginning of the first row.
<TR>

To define a regular cell, type <TD>, then the contents of the cell. Remember to close the cell when done.
<TD>Here's a cell R1C1</FONT></TD>

Each new <TD> creates a new cell for the new column; in this case there will be three TDs for the first row.
<TD>Here's a cell R1C2</FONT></TD>
<TD>Here's a cell R1C3</FONT></TD>

Remember to close the first row of the table by typing </TR>
</TR>

Repeat for each row desired for the table; in this example only three rows and three columns are created
<TR>
<TD>Here's a cell R2C1</FONT></TD>
<TD>Here's a cell R2C2</FONT></TD>
<TD>Here's a cell R2C3</FONT></TD>
</TR>

<TR>
<TD>Here's a cell R3C1</FONT></TD>
<TD>Here's a cell R3C2</FONT></TD>
<TD>Here's a cell R3C3</FONT></TD>
</TR>

Do not forget to close the table when done with </TABLE>.
</TABLE>

 When this task is completed and loaded, your effort will create the small table shown below.

Here's a cell R1C1 Here's a cell R1C2 Here's a cell R1C3
Here's a cell R2C1 Here's a cell R2C2 Here's a cell R2C3
Here's a cell R3C1 Here's a cell R3C2 Here's a cell R3C3

Back