HTML - Subheading / Subtitle / SupTitle / Tagline / Slogan

About

HTML does not have any dedicated tag for marking up:

  • subheadings,
  • alternative titles

heading elements (h1–h6) must not be used to markup subheadings, subtitles, alternative titles and taglines.

Example

Grouped with a header

Grouped with a header element

<header>
  <p>SuperTitle of the year</p>
  <h1>Title</h1>
  <p>Subtitle</p>
  <p>Date: Draft 9 May 2013</p>
</header>

Same line separated

  • by a colon: the subtitle of a book is on the same line as the title separated by a colon.
<h1>The Lord of the Rings: The Two Towers</h1>
  • by a inline element such as span
<h1>Ramones <br>
<span>Hey! Ho! Let’s Go</span>
</h1>

Documentation / Reference


Powered by ComboStrap