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 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.