Description

An inscription at the front of the work, typically addressed in tribute to one or more persons close to the author.

Examples

Example 1 — Dedication
<section role="doc-dedication">
   <p>To all the girls I've loved before …</p>
</section>

Relation to ARIA

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

Usage

doc-dedication is typically used on p, section and div elements, depending on whether the credit is a single paragraph or consists of multiple paragraphs.

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
  • section
  • small
  • span
  • strong
  • sub
  • sup
  • table
  • tbody
  • td
  • tfoot
  • thead
  • th
  • tr
  • time
  • u
  • var
  • wbr

Related Links