W3C home > Mailing lists > Public > public-html@w3.org > May 2013

Re: proposal: subline element

From: Kornel Lesiński <kornel@geekhood.net>
Date: Fri, 31 May 2013 01:25:49 +0100
To: public-html@w3.org
Message-ID: <op.wxw95bjyte2ec8@aimac>
On Wed, 29 May 2013 12:16:32 +0100, Steve Faulkner  
<faulkner.steve@gmail.com> wrote:

> some people in the HTML community have indicated their interest in a
> feature that provides a semantic indication of  a subheading,
> subtitle, alternative title or tagline

I agree with general design. It's much simpler and yet more flexible than  
hgroup was.

I'd suggest changing:

>  The subline element content is associated with the first preceding  
> heading element.

to

> The subline element is associated with the section it is in (including  
> implied sections). Relative tree order of subline and hx must be  
> preserved.

(or some better wording of thereof).

The idea is to also allow subline preceding the header (in addition to all  
use-cases you've presented):

<section>
<subline>The adventures of</subline>
<h1>Fantastic Header Example</h1>
...
</section>

Of course it could be used without <section>, because standalone <hx>  
creates an implied seciton, so typical <hx/><subline/> would "just work"  
too with that rule.

-- 
regards, Kornel
Received on Friday, 31 May 2013 00:26:20 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:02 UTC