Table Layout

This page demonstrates the code required for some basic tables


Two row, two cell table:

Row 1, Cell 1
spcholdr.gif - 49 Bytes
Row 1, Cell 2
spcholdr.gif - 49 Bytes
Row 2, Cell 1
spcholdr.gif - 49 Bytes
Row 2, Cell 2
spcholdr.gif - 49 Bytes

Four cell table with cells merged in bottom row:

Row 1, Cell 1
spcholdr.gif - 49 Bytes
Row 1, Cell 2
spcholdr.gif - 49 Bytes
Row 2, Cells 1 and 2
spcholdr.gif - 49 Bytes

Four cell table with cells merged in first column:

Rows 1 and 2
Cell 1
spcholdr.gif - 49 Bytes
Row 1, Cell 2
spcholdr.gif - 49 Bytes
Row 2, Cell 2
spcholdr.gif - 49 Bytes

<TABLE BORDER="1">
<TR>
<TD>Row 1, Cell 1</TD>
<TD>Row 1, Cell 2</TD>
</TR>
<TR>
<TD>Row 2, Cell 1</TD>
<TD>Row 2, Cell 2</TD>
</TR>
</TABLE>

<TABLE BORDER="1">
<TR>
<TD>Row 1, Cell 1</TD>
<TD>Row 1, Cell 2</TD>
</TR>
<TR>
<TD COLSPAN="2">Row 2, Cells 1 and 2</TD>
</TR>
</TABLE>

<TABLE BORDER="1">
<TR>
<TD ROWSPAN="2">Rows 1 and 2, Cell 1</TD>
<TD>Row 1, Cell 2</TD>
</TR>
<TR>
<TD>Row 2, Cell 2</TD>
</TR>
</TABLE>

Table Attributes

There are several attributes that can be used with tables


Return to Main Menu

If you have any problem browsing these pages, please contact stevegrn@comcast.net
This page was last modified