HI
While h1 is allowed in li according to
http://htmlhelp.com/reference/html40/block/h1.html, it's not the same
way that you are suggesting.. if you want to markup text to be
emphasised used em or strong.
h1-h6 are headings for content
You would be better of using descendant selectors here to
Title: RE: [WSG] Headings within ul Navigation
Thanks all,
I've been doing it purely for strucural reasons rather than presentational.
The thought behind it was (all invented in my head);
+ hey, maybe it'll help give some more things for search engines to grab onto
+ maybe screen reader
Does anyone know whether it's correct to use headings in your navigation?
I'd say it's not correct; although I'd counterpoint by saying that
nested lists imply the sort of structure I think you're trying to
define.
That is... the nested lists are one level down from the containing
LI. So
Title: Headings within ul Navigation
Hey all,
Does anyone know whether it's correct to use headings in your navigation?
e.g.
ul
lih2Item/h2/li
lih2Item/h2/li
lih2Item/h2/li
lih2Item/h2
ul
lih3Sub Item/h3/li
lih3Sub Item/h3/li
lih3Sub Item/h3/li
/ul
/li
lih2Item/h2/li
Why do you want all those header tags in there- for display purposes?
I don't think it's invalid - I just don't see the purpose yet
It's probably better to just class the ul or li, such as ul
class=heading1, and then style all those headings for the correct
appearance.
Matthom
matthom.com/
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
Matt Thommes wrote:
Why do you want all those header tags in there- for display purposes?
I don't think it's invalid - I just don't see the purpose yet
It's probably better to just class the ul or li, such as ul
class=heading1, and then style all those headings for the correct
appearance.