This diagram illustrates a possible rendering by a desktop graphical browser of an example table. The example markup before the table in the document illustrates the use of the "headers" attribute in HTML 4.0.
The caption centered above the table reads "Cups of coffee consumed by each senator".
The first row of the table contains these headers in a sans-serif font: "Name", "Cups", "Type of Coffee", "Sugar?".
The second row contains data (rendered in the same sans-serif font) for a senator named T. Sexton. The third row contains data for a senator named J. Dinnen.
Borders separate all cells, header or data.