Re: proposal: subline element

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