W3C home > Mailing lists > Public > www-html@w3.org > September 2007

Re: Proposed Feature for Future Work: <toc> Element

From: David Woolley <forums@david-woolley.me.uk>
Date: Mon, 03 Sep 2007 22:09:47 +0100
Message-ID: <46DC781B.1010409@david-woolley.me.uk>
To: www-html@w3.org

Doug Schepers wrote:
> I think a ToC (table of contents) element would be a very nice feature. 
>  ToCs are very common in a wide variety of documents, notably Wikipedia 
> and technical documentation.
I would suggest that an auto-generated ToC should be considered a style 
sheet issue.  In fact, good user agents will already generate a table of 
contents off good structural markup.  Magic elements that just indicate 
some feature is required went out with ISINDEX.

A manual ToC indicates a failure to markup the document properly.  One 
could, however, argue that there is a need for additional attributes on 
Hn elements, to give better control of how they are included in a table 
of contents, and possibly a link type for table of content references 
that are to other pages.

David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.
Received on Monday, 3 September 2007 21:10:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:16 UTC