
This page shows examples of tables, how they are used, and the source codes for each table.
|
Team |
Wins |
Losses |
|
Bulls |
63 |
13 |
|
Knicks |
59 |
17 |
|
Heat |
45 |
31 |
|
Nets |
34 |
42 |
As you can see, the table above shows NBA standings. Tables are the easiest way to compare people, groups, or in this case sports teams. Here is the source code for the table above.
<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7 WIDTH=211>
<TR>
<TD><B>Team </B></TD>
<TD><B>Wins</B></TD>
<TD><B>Losses</B></TD>
</TR>
<TR>
<TD>Bulls</TD>
<TD>63</TD>
<TD>13</TD>
</TR>
<TR>
<TD>Knicks</TD>
<TD>59</TD>
<TD>17</TD>
</TR>
<TR>
<TD>Heat</TD>
<TD>45</TD>
<TD>31</TD>
</TR>
<TR>
<TD>Nets</TD>
<TD>34</TD>
<TD>42</TD>
</TR>
</TABLE>
Homepages
|
Owner |
Topic |
Server |
# of visitors |
|
John |
Music |
Geocities |
1453 |
|
Jack |
Sports |
Aol |
346 |
|
Joe |
HTML |
Angelfire |
3454 |
The table above shows information about certain homepages. You can easily find out the info in this table.
Here is the source code:
<B>Homepages</B>
<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7 WIDTH=346>
<TR>
<TD><B>Owner</B></TD>
<TD><B>Topic</B></TD>
<TD><B>Server</B></TD>
<TD><P># of visitors</B></TD>
</TR>
<TR>
<TD>John</TD>
<TD>Music</TD>
<TD>Geocities</TD>
<TD>1453</TD>
</TR>
<TR>
<TD>Jack</TD>
<TD>Sports</TD>
<TD>Aol</TD>
<TD>346</TD>
</TR>
<TR>
<TD>Joe</TD>
<TD>HTML</TD>
<TD>Angelfire</TD>
<TD>3454</TD>
</TR>
</TABLE>
This table has a list of links. This could be used instead of frames, which is the next advanced html topic.
Here is the source code:
<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7 WIDTH=638>
<TR>
<TD><A HREF="table1.html">Table1</A></TD>
<TD><A HREF="table2.html">Table2</A></TD>
<TD><A HREF="table3.html">Table3</A></TD>
<TD><A HREF="table4.html">Table4</A></TD>
</TR>
</TABLE>