web.selah-hcs.orgweb design for kids // html5 + css3one day academy
THIS WEEK'S JOB // Build honest tables for things that are truly grids: schedules, scores, price lists. (Book pages 137-146 in Mrs. Gaiser's book.)
THE THREE IDEAS
table, tr, td, th
table wraps the grid, tr makes a row, td makes a cell, th makes a header cell. Rows hold cells; that is the whole grammar.
Tables are for data
Once upon a time whole pages were built out of tables. We do not do that anymore; CSS does layout now. Tables are for things with rows and columns by nature.
Headers help everyone
th cells label your columns, look bold by default, and tell screen readers what each number means. Data without labels is a puzzle, not a table.