HTML Tables
Tables in HTML 4.0 provide increased control over the grouping of columns and rows. A <COLGROUP>
and <COL> element were added for grouping and defining the appearance of the table columns. For
grouping rows, <THEAD>, <TBODY>, and <TFOOT> elements were added.
The table below contains column and row groupings. The light grey row at the top is the THEAD section, the white rows
in the middle are in the TBODY section, and the light grey at the bottom are in the TFOOT section. The footer of the table
identifies how the COLGROUP element was used to group the columns.
By grouping the rows and columns you have more control over the table's display of borders. You can experiment with the different
border types by selection from the different frame and rules attributes that are available on the table element (IE4 Windows Only).
HTML 4.0 Tables are Powerful
| Element | HTML 3.2 | HTML 4.0 | Nav 4.0 | IE 4.0 |
| <TABLE> | x | x | x | x |
| <CAPTION> | x | x | x | x |
| <THEAD> | | x | | x |
| <TBODY> | | x | | x |
| <TFOOT> | | x | | x |
| <TR> | x | x | x | x |
| <TD> | x | x | x | x |
| <TH> | x | x | x | x |
| <COL> | | x | | x |
| <COLGROUP> | | x | | x |
Table Definition
Up to this point we have demonstrated only how to output information. Next we will discuss the form elements. The form elements
allow you to request and process input from the user.
Form Elements...
|