170
Add Table Sections ................................................
4 On the next line, type
.
5 Type
6 Type
replacing? with a value
equal to the number of
columns in the table.
7 Add data for the footer.
1 In your editor, open a Web
page that contains a table.
2 Below the table element’s 3 Immediately following the
opening tag, type .
final in the header,
type
Add Table Sections
M
ost data tables are likely to be made up of two or three sections: a header at the top, a footer at
the bottom, and the main body in between. HTML provides tags to denote these three sections:
,
of the table. Each section can contain one or more rows, although the header and footer each rarely
contain more than one. The three table section elements do not alter the default appearance of the
table in the browser.