Skip to main content

<hd>


  • Date:
    17/08/2022
  • Modified:
    22/05/2026
  • Category:
    Elements

The <hd> element defines the title of page, chapter, part etc. Not to be confused with title.

Attributes

NameExplanationRequired
level

Defines how deep the header is nested in the content. Only use for headings that follow a new section. The level must be equal to the level of the section.

For floating headings, do not use this level attribute. See Sectioning.

No
number

Defines the number of the part, chapter or subchapter.

No
label

Defines the semantic type of a heading when the text itself does not include an explicit heading term. In such cases, add a label attribute with the appropriate value (e.g., label="chapter") to the <hd> element.

Possible values include:

  • part
  • chapter
  • subChapter

If the text already contains an explicit heading term (such as “Chapter”, “Hoofdstuk”, “Kapittel”, etc.), do not use the label attribute.

No

Examples

heading that follows a new section
<section level="2" role="subChapter">
<hd level="2">Introductie</hd>
Floating heading without a level-attribute
<frame>..</frame>
<hd>Voorkennis</hd>
Heading that consists of multiple text parts
<section level="1" role="chapter">
<hd level="1" number="3">Basis 3 De Verlichting</hd>
<section level="1" role="chapter">
  <pagebreak id="page-78">78</pagebreak>
  <hd level="1" number="2" label="chapter">2 Organen en cellen</hd>

  • Date:
    17/08/2022
  • Modified:
    22/05/2026
  • Category: