Section Divider Element

You can use sectiondiv elements to group content within a section element.

Guidelines

  • A sectiondiv element cannot contain a title element. If you want to introduce a hierarchy below the section element level, consider splitting content into multiple topics instead.
  • You can nest a sectiondiv element within a sectiondiv element. This is useful if you want to develop structured information within section elements.
  • You can use sectiondiv elements to reuse a group of elements from a section element.
  • Most publishing scenarios do not style the sectiondiv element in the output.

Example

The following example shows a section element that contains four levels of sectiondiv elements:

Figure 1. Nested Section Dividers
section dividers topic editor
<section>
    <title>4 Levels of Section Dividers</title>
    <sectiondiv>
        Level 1
        <sectiondiv>
            Level 2
            <sectiondiv>
                Level 3
                <sectiondiv>
                    Level 4
                    <p>Paragraph on level 4</p>
                </sectiondiv>
                <p>Paragraph on level 3</p>
            </sectiondiv>
            <p>Paragraph on level 2</p>
        </sectiondiv>
        <p>Paragraph on level 1</p>
    </sectiondiv>
</section>
Figure 2. Nested Sections Dividers with no Styling Applied.

The following example shows that nested sectiondiv elements are not styled in any way in the PDF output by default.

section dividers no styling
Figure 3. Nested Section Dividers with Styling Applied.

The following example shows styled sectiondiv elements published by using a custom Heretto PDF Generator scenario.

section dividers no borders