Re: Using <h2> as subtitle in W3C specifications

+1

--

Regards

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

On 12 March 2015 at 13:56, Robin Berjon <robin@w3.org> wrote:

> Hi all,
>
> it is the current practice in W3C specifications to use an <h2> element
> for a specification's subtitle (either the actual subtitle, or the "W3C
> $SPEC_STATUS $DATE" part.
>
> It so happens that this is a practice which is frowned upon by the HTML
> specification:
>
>     "h1–h6 elements must not be used to markup subheadings, subtitles,
>      alternative titles and taglines unless intended to be the heading
>      for a new section or subsection."
>     -- http://www.w3.org/TR/html5/common-idioms.html#sub-head
>
> The suggested fix would be to transition to using a <p> element with a
> specific class. This is what HTML5 used to do (because it had special
> dispensation to break stuff) but that won't be possible with the new
> automatic publishing system. Also, it's nicer to follow our own suggestions
> in general.
>
> If this is agreed upon, we'll have a transition period so that everyone
> has time to make this small change.
>
> --
> Robin Berjon - http://berjon.com/ - @robinberjon
>
>

Received on Thursday, 12 March 2015 14:46:34 UTC