Web Design

(Nancy Kaufman) #1

171


CHAPTER

Adding Tables and Lists 7


TIP


Why does the <tfoot> come before the <tbody> in the code?
The browser needs to know what the footer information is before it can properly lay out the table. Defining
these sections out of order can be a bit confusing, and it may help to initially create the table in the more
logical order, with the footer at the bottom, and then cut and paste those rows into the correct place when
you are finished creating the table.

● When the page is viewed in
the browser, you can see that
the changes have not affected
the table’s appearance.

8 Type .


9 Type .


0 Type .


! On the next line, type


.

@ After the final of the
table, type .


8


12


10


9


11

Free download pdf