E-mail List Archives
Re: Semantically pointless?
From: Kynn Bartlett
Date: Mar 13, 2006 3:40PM
- Next message: Sailesh Panchang: "RE: Webmail suggestions"
- Previous message: Kynn Bartlett: "Re: Webmail suggestions"
- Next message in Thread: Pete Fairhurst: "Re: Semantically pointless?"
- Previous message in Thread: Kynn Bartlett: "Re: Semantically pointless?"
- View all messages in this Thread
On 3/13/06, Pete Fairhurst < <EMAIL REMOVED> > wrote:
>
> Ideally, I'd think something like a definition list would be best suited
> to what I'm trying to convey. But, as definition term elements cannot
> contain markup, I'm opting for this simpler alternative.
>
This is an incorrect statement.
<dt> elements can (and usually do) contain markup. They are restricted to
%inline content only, but in your example you seem to be using only <b> and
<img> elements, which are inline, and thus allowable.
This would also be a good place to use the CSS display property's value of
"run-in":
dt { display: run-in; }
(PS: I do agree that <strong> is probably better than <b> in most cases, but
in this case I'm not convinced it makes any difference.)
--Kynn
- Next message: Sailesh Panchang: "RE: Webmail suggestions"
- Previous message: Kynn Bartlett: "Re: Webmail suggestions"
- Next message in Thread: Pete Fairhurst: "Re: Semantically pointless?"
- Previous message in Thread: Kynn Bartlett: "Re: Semantically pointless?"
- View all messages in this Thread