HTML TABLES INDEX

Table Rowspan

The attribute <ROWSPAN> is used within the <TD> or <TH> tag to span two or more rows.

The
First
Four
Numbers
1 2
3 4

By typing this:
<TABLE BORDER=1>

<TR>
    <TH ROWSPAN=2>
The<BR>First<BR>Four<BR>Numbers</TH>
    <TD>1</TD>
    <TD>2</TD>
</TR>
<TR>
    <TD>3</TD> 
    <TD>4</TD>
</TR>

</TABLE>
Here's a second example


1 The
First
Four
Numbers
2
3 4

By typing this:
<TABLE BORDER=1>

<TR>
    <TD>1</TD>
    <TD ROWSPAN=2>
 The<BR>First<BR>Four<BR>Numbers</TD>
    <TD>2</TD>
</TR>
<TR>
    <TD>3</TD> 
    <TD>4</TD>
</TR>

</TABLE>

  1. The rowspan attribute can be used in TD and TH tags to span two or more rows.
  2. Rowspan is a way to sub categorize data within a table.

Columnspan Headers