Language selection

Tables

A table is a mechanism for dividing tabular data into rows and columns.

Table elements are <table>, <th>, <td>.

Additional related table elements include <caption>, <thead>, <tbody>, <tfoot>, <col>, and <colgroup>

Notice: The summary attribute is deprecated in HTML5, see alternatives: https://www.w3.org/TR/html5/tabular-data.html#table-descriptions-techniques

When using tables:

Note: A simple table is one where all cells span exactly one row and one column, and all <th> header cells appear in the first row and/or column.

Date modified: