Here is how titles and subtitles are supported in Bootstrap ("the most popular HTML/CSS/JS framework"):

<div class="page-header">
  <h1>This would be the title <small>and this the subtitle</small></h1>
</div>

ref: http://getbootstrap.com/components/#page-header

Another commonly seen approach is this (many web CMS use this pseudo standard):

<h1 class="title">My Title</h1>
<h2 class="subtitle">My Subtitle</h1>

--Mel.



On 3/22/2015 9:17 PM, Eric Abrahamsen wrote:
Rasmus <ras...@gmx.us> writes:

Eric Abrahamsen <e...@ericabrahamsen.net> writes:

Rasmus <ras...@gmx.us> writes:

In ox-html, You might consider wrapping the title and subtitle in an
<hgroup> if :html5-fancy is t. Or maybe that's going too far! Either
way, I like this.

First result on my search engine says¹ :

     Update 16th April, 2013. hgroup has now been removed from the HTML5
     specification. We are working on an article to help guide authors on
     which markup patterns they should use instead.

     Update 4th April, 2013. Please note that following this decision,
     hgroup will be removed from the HTML5 specification. As such, we don’t
     endorse using it on production sites.

I don't know anything about html, though.  Is there another element you
had in mind?  Or is the html5doctor just wrong?

Between me and html5doctor, I'd believe html5doctor. That's a shame
though! hgroup always made a lot of sense to me.




--
Melanie BACOU
International Food Policy Research Institute
Snr. Program Manager, HarvestChoice
E-mail m.ba...@cgiar.org
Visit www.harvestchoice.org


Reply via email to