WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: HTML heading styles

for

From: Stephanie Sullivan
Date: Oct 19, 2004 11:00AM


On 10/19/04 9:19 AM, "julian.rickards" simply typed the following:

> I have always felt that documents must be structured like a tree with
> branches: if the trunk is h1, then the branches off the trunk are h2, etc.
> You cannot skip from the trunk to a distant branch (h5) without passing
> through h2, h3, and h4 branches. As Jukka wrote, if h4 is too large, use
> styles to resize it or de-emphasize it.

I have had the opposite thought and would be interested in your thoughts on
it here....

I think of it as an outline structure... Thus, the document starts with and
H1... And subheadings are an H2, but after that, I may want to put two h3's
under an H2... And then I may want another H2 with H3... And subs of the H3
are H4... I don't know if this is making sense but visually, the structure
would be like this:

H1 - Page Header
H2 - Sub head subject
H3 - sub-sub head
H3 - second sub-sub head
H2 - Next Sub head subject
H3 - sub-sub of this one
H4 - sub-sub-sub relating to the above
H3 - second sub-sub head

You get the picture, right? In other words, if I were writing a paper, I
would do it that way, only I would have different types of headings to
indicate child status... I would structure like:

I. Page Header
A. Sub head subject
i. Sub-sub head
ii. Second sub-sub head
B. Next Sub head subject
i. Sub-sub of this one
a. sub-sub-sub relating to the above
ii. Second sub-sub head

However, we don't have the ability to do this in HTML... Thus, my reasoning
for wanting to show the structure using the H2 AFTER the H3 at times (for
the second time)... In my first example, it would be silly to make the "Next
Sub head subject" be an H4... It is NOT a child of the H3 above it.

I find this frustrating. Anyone else? Thoughts?

Stephanie Sullivan
Community MX Partner :: http://www.communitymx.com/author.cfm?cid=1008
Team Macromedia for Dreamweaver :: http://tinyurl.com/6huw3
Co-Author .: "Macromedia Dreamweaver MX 2004 Magic" :. New Riders

"It is not enough to have a good mind. The main thing is to use it well." --
Rene Descartes