04. Tables

Image

Image Chapter Code

THE CODE EXAMPLES FOR THIS CHAPTER CAN BE DOWNLOADED FROM THE WEBSITE (HTTP://FOUNDATIONSOFWEBDESIGN.COM).

What are HTML tables used for? Think of spreadsheets or data you want to organize and present. Maybe you have statistics, a schedule, or a project you need to organize. Let’s see how each element is used.

Table Element

The table element allows you to arrange and present data in rows and columns of cells. However, it can’t do much without its supporting cast: the tr (table row), td (table data cell), and th (table ...

Get Foundations of Web Design: Introduction to HTML & CSS now with O’Reilly online learning.

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