December 2011
Beginner to intermediate
1080 pages
23h 42m
English
In this chapter, I will show you the HTML elements you can use to create tables. The main use for tables is to display two-dimensional data in a grid, but in earlier versions of HTML, it became common to use tables to control the layout of content in the page. In HTML5, this is no longer permitted, and the new CSS table feature (described in Chapter 21) must be used instead. Table 11-1 provides the summary for this chapter.

There are three elements that every table must contain: table, tr, and td. There are other elements—and I'll explain them later in this chapter—but these are the three ...
Read now
Unlock full access