Mark Up a Data Table With Row and Column Headers
Mark the product name at the start of each row as a row header and the measurement name above each column as a column header. A compact comparison table usually benefits from explicit scope values on its header cells. 1. Read a value without looking at its neighbors Imagine a comparison that lists three fictional adapters and has columns for mass and port count. The cell containing 2 is ambiguous in isolation. Identify the product name along the row and the measurement label above the column. If the unit is shared, put it with the header or table description where readers can retrieve it. 2. Put the labels in the actual table structure Use header cells for the top headings and for the identifying cells down the left side. Assign column scope to the former and row scope to the latter where they cover an unambiguous range. A blank corner need not be given a misleading label. A caption can describe the table purpose, while each specific header explains its own row or column. Very com...