W3C home > Mailing lists > Public > www-html@w3.org > November 2002

Subheadings desired in XHTML 2.0

From: Etan Wexler <ewexler@stickdog.com>
Date: Wed, 6 Nov 2002 18:50:41 -0500
Message-Id: <v03102801b9e7f197c538@[64.24.91.50]>
To: www-html@w3.org

How does XHTML 2.0 deal with subheadings?  How should XHTML deal with
subheadings?

Do subheadings need a distinct element type?  Should subheadings be
children of headings rather than siblings of headings?

Given an article with the main heading "Foo" and with the subheading "Bar",
given the possibility of an element type 'sh' for subheadings, and assuming
that the examples are valid, which of the following document fragments is
most appropriate?  Why is that?

<!-- begin 1 -->
<h>Foo
   <sh>Bar</sh></h>

<!-- begin 2 -->
<h>Foo
   <h>Bar</h></h>

<!-- begin 3 -->
<h>Foo</h>
<sh>Bar</sh>

<!-- begin 4 -->
<h>Foo</h>
<h>Bar</h>

--
Etan Wexler <mailto:ewexler@stickdog.com>
Received on Saturday, 9 November 2002 03:02:12 UTC

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