03-20-2008, 03:02 AM
|
#10 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
Quote:
Originally Posted by Aaron
Semantically correct code is the next best thing though ;)
|
You appear to be implying that using DIVs is somehow not semantic. That's a general statement to make and on the face of it is completely wrong. There is no reason why the HTML markup cannot be both entirely semantically written and include DIV elements. So long as they're used for their intended purpose (hmm, what does DIV mean...) then it's a-ok to use them. That said, there's no reason why using DIVs should come as any particular requirement when writing a HTML document.
In contrast, I think we all know not to use:
HTML Code:
<div class="article_wrapper">
<div class="title">My Article</div>
<div class="paragraph">This is my cool little article</div>
</div>
... or maybe not. 
|
|
|
|