|
Posted by Andy Dingley on 01/26/07 10:58
On 26 Jan, 08:21, K A Nuttall <k...@yammer.coedotyoukay.invalid> wrote:
> Andrew wrote:
> > Can I have some suggestions for the most syntactically correct
> > way to make a bold heading within a list item?
> I use a heading tag, outside the list.
Hard to say, without seeing the code, but doesn't this mean that you've
marked up the whole list (many elements) as _one_ heading?
Is a list element a "heading" anyway? Headings "head" something, they
mark the location of the content itself. A list (such as a chapter
list) isn't a list of "headings", it's a list of references to headings
that exist somewhere else. They're obviously related, they might
contain the same text, it's reasonable to style their presentation
similarly, but semantically they aren't the actual headings.
So I'd apply a class to the <ul> and then use CSS to make them look the
same. I wouldn't apply HTML heading markup to the list of references
though.
Navigation:
[Reply to this message]
|