Chapter 7. Working with Tables

Are you looking for a way to organize data on your Web page into rows and columns? Or to divide your page into sections for placing headers, footers, and navigation links? This chapter shows you how to use HTML tables to do all of this. You create tables using an outer <TABLE> tag and various other tags within it. A <TR> tag defines a row in a table, and <TD> tags define data cells within the row. In addition to organizing data with tables, you can add color or background images behind the data in tables.

Working with Tables

Understanding Table Structure 98

Add a Table 100

Assign a Table Border 102

Adjust Cell Padding and Spacing 104

Adjust ...

Get Creating Web Pages Simplified now with O’Reilly online learning.

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