Two Times, one for you.
D*** you guys are good. When I grow up, I'm 38, I want to be just like you ;) Thanks, I understand. So the following is semantic nirvana?
<dl id="news">
<dt>Article Title</dt>
<dd class="date">28November2004</dd>
<dd id="article">
<p>ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
<p>ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
</dd>
</dl>
C
On Monday, November 29, 2004, at 01:30 PM, Patrick H. Lauke wrote:
Lea de Groot wrote:
Mordechai (if I can presume to speak for him!) is suggesting that putting an em tag entirely around a block level element (the dd) is not very semantic and a class on the containing dd is more so.
I'm inclined to agree.
While
<div>lorem ipsum dolor <em>sit amet</em> consectetur</div>
would appear to have meaning
<div><em>lorem ipsum dolor sit amet consectetur</em></div>
would appear a little redundant.
<div class="something">lorem ipsum dolor sit amet consectetur</div>
is better.
Another interpretation (that I assumed when I first read M's post) is that
it seems contrary to semantics to have date emphasised. If the em is only
used for visual styling, it should be replaced by pure styling markup (such
as adding a class instead).
If something truly is an emphasis, it's not redundant to mark it up as such
even if it emcompasses the entirety of the parent element's content.
-- Patrick H. Lauke _____________________________________________________ re�dux (adj.): brought back; returned. used postpositively [latin : re-, re- + dux, leader; see duke.] www.splintered.co.uk | www.photographia.co.uk http://redux.deviantart.com
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
_______________________________
"Knowing is not enough, you must apply;
willing is not enough, you must do."
---Bruce Lee****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
