W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Re: HTML heading hierarchy for XHTML [RE-POST]

From: Claus Färber <list-w3c-html-tidy@faerber.muc.de>
Date: 02 Feb 2000 00:19:00 +0100
To: html-tidy@w3.org
Message-ID: <7Y52dqWocDB@faerber.muc.de>
Jany Quintard <quintard.j@cgi.fr> schrieb/wrote:
> heading elements are nothing but paragraph like elements with default
> display options (sort of shortcuts).

That's plain wrong. Although you could say that they are special  
paragraphs, this is not only related to the display of these elements.  
Instead, they dogive the document an overall structure that could be  
used by browsers to display an outline.

> They don't have nor implicit neither
> explicit hierarchy.

And h[1-6] elements do have a hierarchy too: a h1 element is more  
important than h2. It's only that the elements are not nested.

> They could be replaced by something like <p class="heading1">, the
> class being processed at display by CSS (for example)

No. In this case, the headings lose their semantics. They are no longer  
recognized as headings by HTML-parsing software.

Claus Andre Faerber <http://www.faerber.muc.de>
PGP: ID=1024/527CADCD FP=12 20 49 F3 E1 04 9E 9E  25 56 69 A5 C6 A0 C9 DC
Received on Wednesday, 2 February 2000 04:31:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC