Creating a Footer

When you think of a footer, you probably think of a page footer. HTML5’s footer element is appropriate for that, but like header, you can also use it elsewhere.

The footer element represents a footer for the nearest article, aside, blockquote, body, details, fieldset, figure, nav, section, or td element in which it is nested. It’s the footer for the whole page only when its nearest ancestor is the body (Image and Image). And if a footer wraps all the content in its section (an article, for example), it represents the likes of an appendix, ...

Get HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.