8. Tabular Data

Tabular data can take many forms such as financial or survey data, a calendar of events, a bus schedule, or a television programming schedule. Whatever the case may be, this kind of information is usually presented with one or more column or row headings along with the data.

The table element is your element of choice in these instances. It—along with its child elements—are described in this chapter. If you’re looking for a code example and summary of the majority of a table’s elements and features, please head to the table entry.

Note that tables are not intended to control page layout, since that’s the domain of CSS (but you already knew that, right?).

caption

Get The HTML Pocket Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.