Row and Column Spans

Cells can span multiple rows or columns by adding ROWSPAN or COLSPAN to the <TD> or <TH> tags.

<TABLE ALIGN=TOP BORDER=5>
<TR>
<TH COLSPAN=2></TH>
<TH COLSPAN=3>Lunch Orders</TH>
</TR>
<TR>
<TD COLSPAN=2></TD>
<TD>Pizza</TD>
<TD>Deli Ham</TD>
<TD>Cheesburger</TD>
</TR>
<TR>
<TH ROWSPAN=2>Grades</TH>
<TD>1-3</TD>
<TD>40</TD>
<TD>10</TD>
<TD>16</TD>
</TR>
<TR>
<TD>4-6</TD>
<TD>39</TD>
<TD>25</TD>
<TD>13</TD>
</TR>
</TABLE>

Lunch Orders
Pizza Deli Ham Cheeseburger
Grades 1-3 40 10 16
4-6 39 25 13


Search The Global Classroom
Patricia A. Weeg
pweeg@shore.intercom.net
Return to Global Classroom