Heading tags?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Heading tags?

Post 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.)?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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>
Post Reply