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

Re: Subheadings desired in XHTML 2.0

From: fantasai <fantasai@escape.com>
Date: Thu, 14 Nov 2002 00:20:19 -0500
Message-ID: <3DD33293.7040602@escape.com>
To: www-html@w3.org

John Lewis wrote:
> Hello fantasai,
> Wednesday, November 13, 2002, 4:47:17 PM, you wrote:
>>><h><cite>The Lord of the Rings: The Two Towers</cite></h>
>>Here you are not differentiating between title and subtitle in the
>>markup; instead, you are inserting formatting in the form of a
> That was my intention. As I understand it this is not necessarily a
> bad thing.

No, not necessarily. It depends on how richly you want to mark up
the text. The richness of markup determines the capacity for
styling, so if you /do/ want the subtitle to be in italics or
spoken with a softer voice, there needs to be markup to indicate
the structure and the semantics of the structure.

>>h { font-size: x-large; }
>>h line { display: inline; font-size: large; }
>>h line:before { content: ': '; }
>>The problem with having the main text as 1st-level text and the
>>subtitle as a child's text is that the last CSS snippet would result
>>in an extra space before the colon.
> Is there any problem with this?
> <h>The Lord of the Rings<line>The Two Towers</line></h>

Yes. Take out the stylesheet.

The Lord of the RingsThe Two Towers

is incorrect.

>> > <h><cite>The Lord of the Rings <line>The Two Towers</line></cite></h>
>>[...] If it's not [the title of the ensuing text], then as a citation
 >>it probably shouldn't be split into title and subtitle lines; the
 >>subtitle in this case isn't the subtitle of the section.)
> I don't understand. Isn't it still the subtitle of the book as well?
> And as such can't the line still represent that the second part is a
> subtitle? Since the citation is inside the heading, and the line is
> inside the citation, I would think the line represents a subtitle of
> the book and not a subtitle of the section.

Yes, you are right. The whole discussion, however, began with the
problem of representing actual subheadings for XHTML sections, not
subtitles in citations, so I thought you were trying to represent
subheadings in XHTML, not citations in headings.

Received on Thursday, 14 November 2002 00:19:58 UTC

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