Using HTML Tables
Tables help to space the content on a page. They can be very useful for keeping things where you want them. Don't be afraid to nest tables within tables to get the exact look you want.

Example Table:
<P></P>
Using HTML Tables <P></P>
The Code For This Table:
<P></P>
<table width="100%" border="1">
<tr>
<td>
C1_R1
</td>
<td>
C1_R2
</td>
</tr>
<tr>
<td colspan=2>
C2_R1 and C2_R2
</td>
</tr>
</table >
<table> The TABLE tag begins and ends a table.

Use width= to set either the percentage or a specific width for the table.

Set border="1" if you want the lines to show around the table and in between the cells. Set border=0 to make the lines invisible.

<tr>
The TR tag defines the rows. In the example to the left, there are two rows in the table.

<td>
The TD tag defines the columns. Always use the same number of columns in each row. In the example at the left, there are two columns in the top row.

If you want to span both columns use colspan="2" (or 3 if there are three columns in another row, etc.)

© 2004-2005 WISCO Computing All Rights Reserved. Page Design by www.wiscocomputing.com
   <   
   >   
Browse