Re: Subheadings desired in XHTML 2.0

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
> colon.

That was my intention. As I understand it this is not necessarily a
bad thing.

> 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>

> (If this is the title of the ensuing text, btw, then it shouldn't be
> <cite>ed. [...]

Yep.

> [...] If it's not, 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.

Perhaps more importantly, how should it be marked up in this case?

-- 
John

Received on Wednesday, 13 November 2002 18:55:32 UTC