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>
Created by Daniel Carpenter on
<span class="published">March 15<sup>th</sup> 2012</span>
<p>Article Content</p>
<div class="footer">
<div class="author-details">
Written by
<a rel="author" href="">
Daniel Carpenter
<br />
Follow him on
<a rel="author" href="">Twi tter</a>
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