Lesson 8:Building Tables

So far in this book, you’ve used plain vanilla HTML to build and position the elements on your pages. Although you can get your point across using paragraphs and lists, there’s another way to present content on your pages. Using tables, you can lay out page content in rows and columns, with or without borders. And the content you include within your tables isn’t restricted to text. Tables provide more control over the appearance of your pages because you can include any type of HTML content (images, links, forms, and more).

Tables were officially introduced in HTML 3.2. Since then, they’ve had an enormous influence on web page design and construction. HTML 4.01 includes changes that improve the way tables are loaded ...

Get Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day 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.