<book>

The <book> element is a root-level document type for longer works organized into chapters or parts. A book may also have <frontmatter>, <backmatter>, and document-wide metadata in <docinfo>.

Syntax

Attributes

Attributes for <book>
AttributeRequired?Values
component = "…"optionalstring
label = "…"optionalstring
xml:id = "…"optionalstring
xml:lang = "…"optionalstring

Children

The following may appear as children: <backmatter> <chapter> <frontmatter> <idx> <part> <plaintitle> <shorttitle> <subtitle> <title> <worksheet>

Parents

This element may appear as an immediate child of the following elements: <pretext>

Examples

<book>
    <title>Discrete Mathematics</title>
    <frontmatter>
        <titlepage><titlepage-items /></titlepage>
    </frontmatter>
    <chapter>
        <title>Counting</title>
        <p>We begin with basic counting techniques.</p>
    </chapter>
    <backmatter>
        <references><title>References</title></references>
    </backmatter>
</book>