HTML and CSS Reference
In-Depth Information
previously it was a presentational element, but in HTML5 it repre-
sents small print: “Small print typically features disclaimers, cave-
ats, legal restrictions, or copyrights. Small print is also sometimes
used for attribution, or for satisfying licensing requirements.”
Yo u r s i t e ' s f o o t e r p r o b a b l y h a s m o r e t h a n j u s t a s i n g l e c o p y r i g h t
notice. You might have links to privacy policies, accessibility
information (why are you hiding that out of the way?), and other
such links. These should be wrapped in <nav> , despite the spec's
advice (see previous <nav> section).
Yo u m i g h t e v e n h a v e a f a s h i o n a b l e “ f a t f o o t e r ” l i k e
www.thecssdiv.co.uk ( Figure 1.9 ).
FIGURE 1.9 The “fat footer” of
thecssdiv.co.uk.
It is legitimate to wrap the links to other pages on the site
with an <aside> inside the footer—but ask yourself whether
the <aside> to istead be a sibling of the <footer> , or whether
it would be better for the  <aside> to instead be a sibling of
the. After all, the links to other pages are presumably tangen-
tially related to the whole page rather than just the content
of the footer.
Here, I would use the following markup:
<body>
<div id=mainContent>
...
</div>
<aside>
<nav>
<h2>Twitter </h2>
<ul> ... </ul>
</nav>
 
Search WWH ::




Custom Search