O'Reilly logo

HTML, XHTML, and CSS: Your visual blueprint™ for designing effective Web pages by Rob Huddleston

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. USING TABLES

Add a Table to Your Page

Tables allow you to present large blocks of data to your users in an organized fashion. Phone lists, product specification grids, and calendars are just a few of the possible uses for tables on a Web page.

Tables are arranged in rows and columns, similar to the layout in a spreadsheet application like Microsoft Excel. In XHTML, you use a minimum of three elements to create a table and its parts. The table element defines the table itself. Then, each row of the table is defined by the table row element, tr, which is short for table row. Finally, each individual cell is created by use of the td element, which is short for table data. Each of these elements' tags wraps around the other, so a td can only ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required