section
section — A recursive section.
Synopsis
- Sequence of:- One of: 
- Zero or more of:
- Optionally one of: - Sequence of:- One or more of:- Sequence of:
- empty
- empty
- Sequence of:
- revhistory
- Formal elements ![[+]](figs/web/nav/right.gif) 
- Graphic elements ![[+]](figs/web/nav/right.gif) 
- Informal elements ![[+]](figs/web/nav/right.gif) 
- List elements ![[+]](figs/web/nav/right.gif) 
- Paragraph elements ![[+]](figs/web/nav/right.gif) 
- Publishing elements ![[+]](figs/web/nav/right.gif) 
- Verbatim elements ![[+]](figs/web/nav/right.gif) 
 
- Optional one or more of:
 
- One or more of:
- One or more of:
 
- Sequence of:
- Zero or more of:
 
- One of: 
Attributes
Description
A section is one of the top-level sectioning elements
in a component. There are
types of sectioning elements in DocBook:
- Recursive - sections, which are an alternative to the numbered sections and have unbounded depth.
- simplesects, which are terminal. The- simplesects can occur as the “leaf” sections in recursive sections or any of the numbered sections, or directly in components.
The section element may be more convenient than
numbered sections in some authoring environments because instances can
be moved around in the document hierarchy without renaming.
None of the sectioning elements is allowed to “float” in a component. You can place paragraphs and other block elements before a section, but you cannot place anything after it.
Processing expectations
Formatted as a displayed block. Sometimes sections are numbered.
Use of deeply nested sections may cause problems in
some processing systems.
Attributes
Common attributes and common linking attributes.
- label
- Specifies an identifying string for presentation purposes 
- status
- Identifies the editorial or publication status of the element on which it occurs 
Children
The following elements occur in section: bibliography, blockquote, epigraph, example, figure, info (db.titleforbidden.info), info (db.titlereq.info), informaltable (db.cals.informaltable), informaltable (db.html.informaltable), itemizedlist, literallayout, mediaobject, note, orderedlist, para, programlisting, revhistory, section, sidebar, subtitle, table (db.cals.table), table (db.html.table), title, titleabbrev, variablelist.
Examples
<article xmlns='http://docbook.org/ns/docbook'>
<title>Example section</title>
<para>This <tag>article</tag> uses recursive sections.</para>
<section>
  <title>Like a Sect1</title>
  <subtitle>Or How I Learned to Let Go of Enumeration
            and Love to Recurse</subtitle>
  <info>
    <abstract>
      <para>A trivial example of recursive sections.</para>
    </abstract>
  </info>
  <para>This section is like a Sect1.</para>
  <section><title>Like a Sect2</title>
    <para>This section is like a Sect2.</para>
    <section><title>Like a Sect3</title>
      <para>This section is like a Sect3.</para>
      <section><title>Like a Sect4</title>
        <para>This section is like a Sect4.</para>
        <section><title>Like a Sect5</title>
          <para>This section is like a Sect5.</para>
          <section><title>Would be like a Sect6</title>
            <para>This section would be like a Sect6,
                  if there were one.</para>
            <section><title>Would be like a Sect7</title>
              <para>This section would be like a Sect7,
                    if there was one.</para>
            </section>
          </section>
        </section>
      </section>
    </section>
  </section>
</section>
</article>
![[x]](figs/web/nav/delete.gif)
![[-]](figs/web/nav/down.gif)