HTML and CSS Reference
In-Depth Information
Note It is not appropriate to use the address element inside a sectioning element
other than article or the body of the document. So, a section element may have
a footer, but it would not have an address element included. If an address element
were included in this situation, the address would semantically apply to the first article
encountered that contained the section or to the body, whichever was encountered first.
Let's add a footer to the existing code, which provides an e-mail address contact for
the whole page:
<h2>Site Slogan!</h2>
<h1>Site Title</h1>
<nav><h1>Main Navigation</h1></nav>
<section><h1>Featured Content</h1>
<article><h1>An Article</h1>
<section><h1>Other News</h1>
Search WWH ::

Custom Search