Tables
Build data tables the right way: rows and cells, headers, captions and sections, cells that span, and tables that screen readers and phones can use.
A table shows data that has two directions: rows and columns. A train timetable, a price list, exam marks, a comparison of phone plans. In this phase you'll build tables cell by cell, then give them the structure that lets a browser, a screen reader and a printer understand them.
You'll learn the four basic elements (table, tr, td, th), the sections that group rows (caption, thead, tbody, tfoot, colgroup, col), how cells stretch across rows and columns with colspan and rowspan, and how scope and headers tell assistive technology which header belongs to which cell.
Finally you'll learn when not to use a table (never for page layout) and how to keep wide tables usable on a phone. Styling tables with borders, stripes and sticky headers comes up again in the CSS course (/css), and reading table cells with JavaScript in the JavaScript course (/javascript).
Practise this phase
Hands-on exercises: write the code, see your page live, and press Check to have it tested automatically.