2.4. Tables

HTML tables are widely used not only for traditional tables (data presented in tabular format) but also to control layout and group related items. The majority of the most popular Web sites use tables to control the overall layout of the main page. Table entries can contain images, multiple paragraph types including lists, and even other tables. The border around the table and between cells can be suppressed so that the reader is unaware that a table is being used. Creating complex tables by hand can be tedious and error prone, especially if there are nested tables or entries that span rows and columns. HTML editors that let you lay out tables visually can be a big help, especially if they let you go back to the “raw” HTML to add ...

Get Core Web Programming, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.