Description

A quotation set at the start of the work or a section that establishes the theme or sets the mood.

Examples

Example 1 — Epigraph
<blockquote role="doc-epigraph">
   <p>I always get to where I'm going 
         by walking away from where I have been.</p>
         
   <footer>—Winnie the Pooh</footer>
</blockquote>

Relation to ARIA

doc-epigraph inherits its semantics from the a section role (i.e., it represents a container of related content, but is not a landmark).

Usage

doc-epigraph is typically used on blockquote and section elements.

List of all elements allowed on
  • a (without an href attribute)
  • abbr
  • address
  • b
  • bdi
  • bdo
  • blockquote
  • br
  • canvas
  • cite
  • code
  • del
  • dfn
  • div
  • em
  • i
  • img (with alt text)
  • ins
  • kbd
  • mark
  • output
  • p
  • pre
  • q
  • rp
  • rt
  • ruby
  • s
  • samp
  • small
  • span
  • strong
  • sub
  • sup
  • table
  • tbody
  • td
  • tfoot
  • thead
  • th
  • tr
  • time
  • u
  • var
  • wbr

Related Links