Lesson 10. Building Tables

So far in this book, you’ve used plain vanilla Hypertext Markup Language (HTML) to build and position the elements on your pages, and you’ve used Cascading Style Sheets (CSS) to fine-tune their appearance. Although you can get your point across using paragraphs and lists, some information lends itself best to being presented in tables. In this lesson, you learn how to use HTML to create them.

When tables were officially introduced in HTML 3.2, they were commonly used to lay out entire pages. More recently, that role has been taken over by CSS. With the introduction of HTML 4 and later releases, new features were added to enable tables to better perform their designated role: the presentation of tabular data.

In this ...

Get Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day: Includes New HTML5 Coverage, Sixth Edition 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.