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  

(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

Received on Monday, 8 April 2013 14:31:00 UTC

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