Chapter 4. HTML 2: Tables

Table of Contents

Objectives
Introduction to Tables
What is a Table?
Why do We Use Tables?
Creating a Data Table
Using Tables in Page Design
Using Tables in Page Design
Flexible Design
Fixed Design
Review Questions
Discussions and Answers
Correct code for Activity 1 step 1
Solution to Activity 2: HTML Colours Table
Discussion Topic
Answers to Review Questions

Objectives

At the end of this unit you will be able to:

  • explain why tables are used to organize and display data;

  • construct a table using HTML tags;

  • insert data into the relevant table cells;

  • add colour to particular table cells;

  • discuss the advantages and disadvantages of fixed and flexible Web page design;

  • implement a table in a flexible Web page using relative measurements;

  • implement a table in a fixed Web page using pixel measurements.