Chapter 18. Tables

by Chris Mills

From travel timetables to the periodic table to the phone book to spreadsheets, if sifting through reams of data arranged in linear rows and columns is what excites you, this is just the chapter for you. Read on, but also take the time out to do another hobby...learn to play guitar or something.

How do we represent data tables in HTML? You might think it is done by some system of carefully sized and positioned paragraphs, which sounds tedious and difficult. But fear not—HTML has a special group of elements just for marking up tabular data.

This chapter will cover the basic table elements, then move on to advanced table elements that add more meaning and improve accessibility. Finally, we will take a careful look ...

Get InterACT with Web Standards: A holistic approach to web design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.