Row and Column Spanning

Simple Column Spanning Example

ABCDEF
GHIJKLMNO

Simple Row Spanning Example

ABCDEFGHI
JKLMNO

Row and Column Spanning at the Same Time Example

ABCDEF
GHI
JKLMNOPQR

Table "Frame" Examples

Note: this is not the same as "frames" which we will discuss shortly.

Example of table frame "box". You get this by default if you specify a border.

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Example of table frame "above".

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Example of table frame "below".

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Example of table frame "hsides".

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Example of table frame "LHS".

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Example of table frame "RHS".

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Example of table frame "vsides".

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Example of table frame "void". It seems to leave out the table outer edges.

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Table Rules Examples

Example of table rules "all".

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Example of table rules "none".

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Example of table rules "rows".

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

Example of table rules "cols".

Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2

A complex example integrating a number of ideas

Table 1
Today's Opinion Poll Political Party
Democrat Republican Independent
"Do you favor or oppose increasing the minimum wage?" Favor 70% 35% 55%
Oppose 25% 60% 30%
Unsure 5% 5% 15%

Nested table example

Table inside a table example
ABC
DEF GHI
JKL MNO
PQR STU

Valid XHTML 1.0!