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: Fri, 24 Mar 2000 11:45:42 -0600
To: html-tidy@w3.org
Message-ID: <OFFAB9E48A.B3E88C69-ON86256879.00346BC9@rfdinc.com>

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 Friday, 24 March 2000 13:14:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:43 GMT