Tables

Tables are ways of arranging information into blocks. Sometines this can be quite nifty, however, over-enthusiastic use of tables can make your page look clunky. Here's an example of a basic table code:

<TABLE>
<TR>
<TD> <IMG WIDTH="35" HEIGHT="32" src="purp.jpg" ALT="heart"> </TD>
<TD> I love springtime. </TD>
</TR>
<TR>
<TD> <IMG WIDTH="35" HEIGHT="32" src="purp.jpg" ALT="heart"> </TD>
<TD> I love the flower/weed called Queen Anne's Lace. </TD>
</TR>
<TR>
<TD> <IMG WIDTH="35" HEIGHT="32" src="purp.jpg" ALT="heart"> </TD>
<TD> And I'd love to walk in the woods on a spring afternoon with my love. </TD>
</TR>
</TABLE>

Here's what it means:
And here's how it looks:
heart I love springtime.
heart I love the flower/weed called Queen Anne's Lace.
heart And I'd love to walk in the woods on a spring afternoon with my love.

You can put borders on the table, or indicate a background color. You can even indicate a border color:

<TABLE BORDERCOLOR=000000 BORDER=3>
<TR>
<TD BGCOLOR=000000> <IMG WIDTH="35" HEIGHT="32" src="purp.jpg" ALT="heart"> </TD>
<TD BGCOLOR=80ff80> I love springtime. </TD>
</TR>
<TR>
<TD BGCOLOR=000000> <IMG WIDTH="35" HEIGHT="32" src="purp.jpg" ALT="heart"> </TD>
<TD BGCOLOR=80ff80> I love the flower/weed called Queen Anne's Lace. </TD>
</TR>
<TR>
<TD BGCOLOR=000000> <IMG WIDTH="35" HEIGHT="32" src="purp.jpg" ALT="heart"> </TD>
<TD BGCOLOR=80ff80> And I'd love to walk in the woods on a spring afternoon with my love. </TD>
</TR>
</TABLE>

Becomes:
heart I love springtime.
heart I love the flower/weed called Queen Anne's Lace.
heart And I'd love to walk in the woods on a spring afternoon with my love.


Align commands work with tables.. just put them in the <TABLE> tag:

<TABLE align=center>
<TR>
<TD> <IMG WIDTH="35" HEIGHT="32" src="purp.jpg" ALT="heart"> </TD>
<TD> I love springtime. </TD>
</TR>
<TR>
<TD> <IMG WIDTH="35" HEIGHT="32" src="purp.jpg" ALT="heart"> </TD>
<TD> I love the flower/weed called Queen Anne's Lace. </TD>
</TR>
<TR>
<TD> <IMG WIDTH="35" HEIGHT="32" src="purp.jpg" ALT="heart"> </TD>
<TD> And I'd love to walk in the woods on a spring afternoon with my love. </TD>
</TR>
</TABLE>

Becomes:
heart I love springtime.
heart I love the flower/weed called Queen Anne's Lace.
heart And I'd love to walk in the woods on a spring afternoon with my love.

back to the tutorial menu