You are here: Re: Best syntax for bold <li> "Headings" « HTML « IT news, forums, messages
Re: Best syntax for bold <li> "Headings"

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация