Chapter 11. Creating Tables

Creating Tables

In this chapter you will learn to:

  • ✓ Create a simple table.

  • ✓ Specify the size of a table.

  • ✓ Specify the width of a column.

  • ✓ Merge table cells.

  • ✓ Use tables for page layout.

If you’ve used a word-processing program before, you’re probably already familiar with creating tables. A table is a grid of rows and columns, the intersections of which form cells. Each cell is a distinct area, into which you can place text, graphics, or even other tables.

HTML handles tables very well, and you can use tables to organize complex data to be presented to your site visitors. For example, you could display your store’s inventory in a table. ...

Get HTML and XHTML Step by Step 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.