Headings

Tags

  • <h1>, <h2>, <h3>, <h4>, <h5>, <h6>

Classes and EPUB Types

For use with <h1> in part files only

  • .part-1, .part-2, .part-3, .part-4, .part-5, .part-6

For use with <h1> in chapter files only

  • .top-level

For use with <span>, in <h1> only

  • .label

For use with <p>

  • .h1sub
  • .h2sub
  • .h3sub
  • epub:type="bridgehead"
  • .h2, .h3, .h4, .h5, .h6 - use these classes to apply the corresponding heading style to any h1-6 tag, if necessary; use sparingly.

The classes .top-level and .part-1(-6) have no styles associated with them, and are not included in the example markup below. For information on the use of these classes, see Parts in Recommended Code.