Re: using strong to indicate a title?

thanks Mallory,

i agree, (never said it was a good idea) but wanted to get others thoughts.

In the general case

<header><hx id="foo">Meijer</hx><p rel="foo">Why Pay More?</p></header>

is my preferred solution


--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>


On 7 May 2013 14:45, Mallory van Achterberg <stommepoes@stommepoes.nl>wrote:

> On Tue, May 07, 2013 at 02:26:31PM +0100, Steve Faulkner wrote:
> > disclaimer: its an off the cuff idea only!
> >
> > I have been musing on the idea of using strong to signify  the title part
> > of a heading that has title and subtitle:
> >
> > <h1><strong>title</strong> subtitle</h1>
> >
> > would be interested to get others thoughts on the pattern
> >
> >
> > --
> >
> > Regards
> >
> > SteveF
> > HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
>
> No me gusta: means changing meaning of strong (for a second time),
> and UAs would have to check parent of strong to decide which meaning
> it has. Strong also doesn't solve the mottos/slogans/taglines/banners
> issue people were using multiple headings+hgroup for, since for me
> those things never belonged in hx tags to begin with.
>
> I think I don't generally like the idea of one tag having two very
> different, contextual meanings, though I'm sure someone already
> does and I'm just not coming up with them at the moment.
>
> Still think the idea of saying "everyone sibling to hx inside a
> <header> tag has some special association with the hx" is nicer since
> then the tags still keep their actual normal original meaning and
> can encompass non-subtitle content. Including images. Not entirely
> certian what the special association would be, if any, unless rel
> attributes could somehow be used.
>
> <header><hx id="foo">Meijer</hx><p rel="foo">Why Pay More?</p></header>
>
> -Mallory
>
>

Received on Tuesday, 7 May 2013 13:50:04 UTC