Up: Elements reference



<chapter> – of a book

Attributes:

kind
"preface", "introduction", "acknowledgements" or "colophon" – marks chapters with special meaning
xml:lang
human language (inherited)
id
unique name (identifier)
style/class
style properties and class (e.g. for CSS)

Possible Contents: heading, aphorism?, (block element | figure/table)*, section*

Description: A chapter of a book. It's always included into the TOC (i.e., there is no star'ed version). In <aphorism> you can let a nice witty quote by a famous person being printed above the chapter beginning.

kind marks special chapters that are not included into the TOC. A "preface" chapter is printed before the TOC; so far, there is no difference between "acknowledgements" and "colophon" yet.

Example

     <chapter kind="introduction">
       <heading>Introduction</heading>
     
       <p>Before we begin ...</p>
     
     </chapter>
     
     <chapter>
       <heading>Crystal Growth</heading>
     
       <p>This can be a tricky thing. ...</p>
     
       <section>
         <heading>First Steps</heading>
     
         <p>First we take warm water, ...</p>
     
       </section>
     </chapter>