Re: indicating subtitles using small

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