Web Design

(Nancy Kaufman) #1

168


Add a Header Row .................................................


2 Change the opening tag of
a cell within the first row
of the table from to


.

3 Change the closing tag from


to .

1 In your editor, open a
document that contains
an existing table.


Add a Header Row


M


ost tables require a row or column of headers to define for the user the data that row or column
represents. Often, the data in the table is meaningless without headers. In HTML, you can

represent this header information by using the tag for those cells instead of . You are


therefore defining individual cells as headers, not entire rows or columns. Text within these header


cells is formatted in bold and centered in the cell.


2


1


3

Free download pdf