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

Re: indicating subtitles using small

From: Bruce Lawson <brucel@opera.com>
Date: Mon, 08 Apr 2013 15:30:15 +0100
To: "HTMLWG WG" <public-html@w3.org>, "Steve Faulkner" <faulkner.steve@gmail.com>
Message-ID: <op.wu77wpihh8on37@bruce-pc>
On Sun, 07 Apr 2013 19:55:02 +0100, Steve Faulkner  
<faulkner.steve@gmail.com> wrote:

> pointer for discussion on use of <small>
> https://github.com/twitter/bootstrap/issues/7482
>

I've only once needed to markup a heading plus strapline (pre-HTML5), and  
after considering how to do it simply went for  
<h1>foo</h1><p>strapline</p>.

(I didn't feel that strapline was a heading at all).

But, if you do, in the absence of a dedicated element for it,

<h1>foo <span>strapline</span></h1> would seem to be good; it preserves  
the "headingness" of it, being inside the <h1>, it allows you to style it  
differently, it doesn't abuse the semantics of the <small>.

  And, it's a whole byte shorter!


-- 


Bruce Lawson
Open standards evangelist
Developer Relations Team
Opera

http://dev.opera.com
Received on Monday, 8 April 2013 14:31:00 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:32 UTC