HTML and CSS Reference
In-Depth Information
<p>Article Content</p>
<footer>
<address>
<p>
Written by
<a rel="author" href=" mailto:daniel.carpenter@somewhere.com">
Daniel Carpenter
</a>
<br />
Follow him on
<a rel="author" href=" http://www.twitter.com/mrdanc">Twi tter</a>
</p>
</address>
</footer>
</article>
The elements shown in Listing 3-1 appear to have meaning. The <header />
element contains all of the header information related to the article, such as the
title, author, and the time of publishing. Notice that the content within the article
does not need to be wrapped in another element. Finally, the <footer />
contains information about the author, which is nested within an <address />
element.
Compare this to Listing 3-2, which shows how you might have written this in
previous versions of HTML.
4
 
Search WWH ::




Custom Search