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

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 UTC