Page 1 of 1

Heading tags?

Posted: Thu Aug 24, 2006 5:23 pm
by Luke
I just noticed this on the w3c page while validating an html page:
The W3C wrote:If this does not look like a real outline, it is likely that the heading tags are not being used properly. (Headings should reflect the logical structure of the document; they should not be used simply to add emphasis, or to change the font size.)
Not sure I understand. How exactly are heading tags supposed to be used (h1, h2, h3, etc.)?

Posted: Thu Aug 24, 2006 5:29 pm
by feyd

Code: Select all

Document Title - Level 1
  Chapter 1 - Level 2
    Section 1 - Level 3
    Section 2 - Level 3
    Section 3 - Level 3
  Chapter 2 - Level 2
    Section 1 - Level 3
    Section 2 - Level 3
    Section 3 - Level 3
    Section 4 - Level 3
    Section 5 - Level 3
I haven't had many documents go past level 4.
Level X = <hX>