<section>

Description

A grouped sub-set of a chapter's content.

Section elements group a sub-set of the content of a chapter for styling purposes.

Attributes

No attributes other than standard attributes are defined for <section> elements.

Immediate descendants

The possible immediate descendants of <section> elements are the same as those for <chapter> elements.

Element name Description
<h1> A level 1 heading
<h2> A level 2 heading
<h3> A level 3 heading
<h4> A level 4 heading
<h5> A level 5 heading
<para> A paragraph of text. Paragraphs may also contain graphics and emphasis elements.
<bullets> An unordered or 'bullet' list.
<list> An enumerated list.
<table> A matrix of cells for tabular data representation.
<graphic> A graphical image. Graphical images may be positioned left, center, right, or inline with the text in a paragraph.
<section> A section of a chapter. Sections group chapter content for styling purposes.
<comment> A comment entry for developer discussions. This element is normally not printed other than in developer HTML translation or direct browser loading.

Immediate ancestors

Element name Relation
<chapter> The chapter enclosing the section.

Example

<document xmlns="http://boradoc.org/1.0">
  <chapter>
    <section>
      <para>First section of chapter.</para>
    </section>
    <section>
      <para>Second section of chapter.</para>
    </section>
  </chapter>
</document>

The above BDML renders to the following:

First section of chapter.

Second section of chapter.