sidebar — A portion of a document that is isolated from the main narrative flow.


sidebar ::= [-]


Common attributes and common linking attributes.

Additional attributes:

  • floatstyle

Additional Constraints

  • sidebar must not occur among the children or descendants of sidebar
  • If this element is the root element, it must have a version attribute.


A sidebar is a short piece of text, rarely longer than a single column or page, that is presented outside the narrative flow of the main text.

Sidebars are often used for digressions or interesting observations that are related, but not directly relevant, to the main text.

Processing expectations

Formatted as a displayed block. Sometimes sidebars are boxed or shaded.

DocBook does not specify the location of the sidebar within the final displayed flow of text. The wrapper may float or remain where it is located.


Common attributes and common linking attributes.


Specifies style information to be used when rendering the float


<article xmlns=''>
<title>Example sidebar</title>

<section><title>An Example Section</title>

<para>Some narrative text.

<sidebar><title>A Sidebar</title>
<para>Sidebar content.

<para>The continuing flow of the narrative text, as if the
sidebar was not present.


Last revised by Norman Walsh on (git hash: 4460ecff4b65268b558037cbda9fadcfb9e3e09a 7c5a17532e372309975fdbdf572c92cf383a8b5d d8336abc499f0c937e6dbe0a81964bf398e6987d)