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

Re: HTML heading hierarchy for XHTML

From: Jany Quintard <quintard.j@cgi.fr>
Date: Fri, 24 Mar 2000 11:45:42 -0600
To: "Marc Rubin, Jay's Island Software Development & Consulting" <html-tidy@mail.com>
Cc: html-tidy@w3.org
Message-ID: <OF0B7632C1.5259DAEE-ON86256879.00315171@rfdinc.com>

I hope I am not boring the list members with a discussion that is
maybe off-topic, but I want to get a point clearer.

On Tue, 1 Feb 2000, Marc Rubin, Jay's Island Software Development &
Consulting wrote:

> Actually, nesting plain "div"s seems sufficient in Amaya and in MSIE:
> <div>
>  <h1>First Order Heading</h1>>    <h2>Second Order Heading</h2>> </div>
> Using "id"s (names) might be pretty, but as Jany points out, they make
> structure inconvenient to modify. Retaining the <hN> elements seems
> for backward compatibility with HTML.
I suggested to use <p class="heading"> in place of hN, because this allow
to treat all headings in the same way, ant to process them according with
the context. But, you could use h1 for all headings, provided the CSS
process them according with the context.
What I dislike in the use of h1, h2,..., h6 is that it hardcodes the level
of the division (section) containing the heading.
And another point is that there "only" six levels, while you can recurse
div inclusions as far as you wish.

> I'd be interested in hearing why OpenJade might be a better solution,
> but...
IMO, Tidy is a tool to tidy up and "beautify" HTML/XHTML files. Openjade
is a tool to process SGML/XML files and output others formats, and it has
backends to transform SGML/XML documents, this is to modify their
If you agree, we can discuss this point off list, or join on the dsssl

Jany Quintard             | Et les enfants de choeur
IBM Paris Laboratory      | Branlant du chef, opinent
Tel : 33 (0)2 51 16 40 36 |   G. Brassens (La religieuse)
Received on Friday, 24 March 2000 13:14:58 UTC

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