Table Summary

  • Tables help organize your web page into sections producing rows and columns of information.
  • Tables require three tags-table, table row, table data.
  • Horizontal rows are created with <tr>
  • Vertical columns are created with <td>
  • Table Headers <th> center and bold text
  • Cellspacing controls the amount of space between each cell - the distance between each table cell.
  • Cellpadding controls the amount of space inside the cell or between the text and the inside cell.
  • Rowspan td rowspan causes the data in the cell to cross over several rows at one time .
  • Colspan td col span causes the data in the cell to cross over several columns at one time .
  • Table Attributes control the appearance and placement of text and images: border (CSS), cellpadding, cellspacing, align, bgcolor, width, height, rowspan, colspan and colgroup
  • Background color can be assigned to the entire table, rows or individual cells.
  • Captions are aligned top or bottom to display further table information outside the table.
  • Nested tables are tables within a table.Tables accept Style Sheet rules.

  • Web Design with XHTML Part II
    Doris Cuffey, Instructor