border-spacing
CSS property specifies the distance between the borders of adjacent table cells (only for the separated borders model). This is equivalent to the cellspacing
attribute in presentational HTML, but an optional second value can be used to set different horizontal and vertical spacing.empty-cells
CSS property specifies how user agents should render borders and backgrounds around cells that have no visible content.border-collapse
CSS property determines whether a table's borders are separated or collapsed. In the separated model, adjacent cells each have their own distinct borders. In the collapsed model, adjacent table cells share borders.table-layout
CSS property defines the algorithm to be used to layout the table cells, rows, and columns.<caption>
Element (or HTML Table Caption Element) represents the title of a table. Though it is always the first descendant of a <table>
, its styling, using CSS, may place it elsewhere, relative to the table.<colgroup>
element.<table>
) represents tabular data - i.e., information expressed via a two dimensional data table.<tr>
element data-rows to be the body of its parent <table>
element (as long as no <tr> elements are immediate children of that table element.) In conjunction with a preceding <thead>
and/or <tfoot>
element, <tbody> provides additional semantic information for devices such as printers and displays. Of the parent table's child elements, <tbody> represents the content which, when longer than a page, will most likely differ for each page printed; while the content of <thead>
and <tfoot>
will be the same or similar for each page printed. For displays, <tbody> will enable separate scrolling of the <thead>
, <tfoot>
, and <caption>
elements of the same parent <table>
element. Note that unlike the <thead>, <tfoot>, and <caption> elements however, multiple <tbody> elements are permitted (if consecutive), allowing the data-rows in long tables to be divided into different sections, each separately formatted as needed.<td>
) defines a cell of a table that contains data. It participates in the table model.<tfoot>
) defines a set of rows summarizing the columns of the table.<thead>
) defines a set of rows defining the head of the columns of the table.