HTML and CSS Reference
In-Depth Information
Listing 3-2. Proposed Structure of an Article in HTML4 and Prior
<div class="article">
<div class="header">
<h1>Article Title</h1>
<p>
Created by Daniel Carpenter on
<span class="published">March 15<sup>th</sup> 2012</span>
</p>
</div>
<p>Article Content</p>
<div class="footer">
<div class="author-details">
<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>
</div>
</div>
</div>
As you can see from Listing 3-2, there is no real apparent structure to the
markup. There are a lot of divs with classes associated with them; however,
there is no real standard for creating a document like this.
 
Search WWH ::




Custom Search