HTML and CSS Reference
In-Depth Information
Building Tables
So far in this topic, 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 lesson, you'll learn all about tables, including the following:
Defining tables in HTML
Creating captions, rows, and heading and data cells
Modifying cell alignment
Creating cells that span multiple rows or columns
Adding color to tables
Using tables in web pages
Search WWH ::

Custom Search