Previous Slide


Irregular Table Cells

Next Slide

  • THE "ROWSPAN" ATTRIBUTE CAN BE USED TO SPECIFY THAT A SINGLE CELL SPANS SEVERAL ROWS.

  • THE "COLSPAN" ATTRIBUTE CAN BE USED TO SPECIFY THAT A SINGLE CELL SPANS SEVERAL COLUMNS.

  • "ROWSPAN" AND "COLSPAN" CAN BE USED WITH <TD> AND <TH> TAGS.

<TABLE BORDER=3>
<TR>
  <TH>TAG</TH> <TH>TYPE</TH>
<TR>
  <TD>H1</TD> 
  <TD  ROWSPAN=2>BLOCK</TD>
<TR>  
  <TD>P</TD>
</TABLE>

image

TAG

TYPE
H1 BLOCK
P



The Web:
Technologies and
Techniques


Links to other course pages:


Williams College
Department of Computer Science
This page is part of a section of lecture slides related to " HTML tables " within the topic "HTML II". Other slides within this section and other sections of slides for the topic "HTML II" can be accessed using the links below.
  • TEXT
  • Text Style Tags
  • Getting Physical...
  • Text That Isn't Text
  • List Tags
  • List Elements
  • Ordered and Unordered Lists
  • Ordered and Unordered Lists (cont.)
  • Definition Lists
  • HTML tables
  • Tables
  • Table Borders and Headers
  • Table Cell Spacing
  • Table Cell Padding
  • Irregular Table Cells
  • Table Cell Alignment
  • Table Width and Height Attributes