Ken Ward's HTML Tutorial ...

Code for Table

I am spanning 3 rows! This is my TABLE
 

I have some padding to keep me away from the border!

Nested Table
The self known to me The self unknown to me and unknown by others
The self known to me and known by others The self unknown to me but known by others
Watching Television Playing sports

This is the code for the above table:

 
<
!-- Start of Simple Table --
<
center>
<
TABLE WIDTH="95%" BORDER="10" BORDERCOLOR="black" CELLPADDING="5">
<
TR>
<
TD ROWSPAN="3" BACKGROUND="PinkBackground.gif" ALIGN="center" WIDTH="20%">I am spanning 3 rows!</TD>
<
TD COLSPAN="2" BGCOLOR="yellow" ALIGN="center">This is my table</TD>
<
/TR>
<
TR>
<
TD BGCOLOR="aqua" ALIGN="right" VALIGN="top">&nbsp;<p>I have some padding to keep me away from the border! </TD>
<
TD BGCOLOR="Fuchsia"><!-- Nested Table --><TABLE BORDER="3" WIDTH="100%">
<
TR>
<
TD COLSPAN="2" ALIGN="center">Nested Table</TD>
<
/TR>
<
TR>
<
TD>The self known to me</TD>
<
TD>The self unknown to me and unknown by others</TD>
<
/TR>
<
TR>
<
TD>The self known to me and known by others</TD>
<
TD>The self unknown to me but known by others</TD>
<
!-- End of Nested Table -->
<
/TR>
<
/TABLE>
<
/TD>
<
/TR>
<
TR>
<
TD BGCOLOR="lime">Watching Television</TD>
<
TD BGCOLOR="silver">Playing sports</TD>
<
/TR>
<
/TABLE>
<
/center>
<
!-- End of Simple Table -->

Back to Tables!



Most Recent Revision: 18-Oct-98.
Copyright © 1998

I am always pleased to hear from you.
Send your comments to
and please visit: New Life Course