If you want headers in your unordered list, use a definition list instead.
The dt is your header and the dd's are your list elements.

Check out the latest version of http://www.seriocomic.com for an interesting
take on the dl as navigation with the expanding menu. I've already adapted
the same technique for an expanding menu on our project.

Ted



On Wed, 04 May 2005 17:31:06 +0100, Jamie Mason  
<[EMAIL PROTECTED]> wrote:

> Hey all,
> Does anyone know whether it's correct to use headings in your navigation?

Technically <h> is allowed in <li>, but semantically - I think it's not.

IMHO headings should only be before actual content, so when you jump to  
any heading you're landing in the right place. With your code this doesn't  
work and things like "document summary" would either show all headings  
twice or show headings for content that is not on the page.

Nested lists are enough to represent headings structure of the page.

-- 
regards, Kornel Lesiński

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to