7.6. Element chapter

Specifies a chapter of the ebook.

Content model

(head? , body? , related* , section*)

Attributes

Name Data type Default value
href anyURI
min. length: 1
 
pagename token
min. length: 1
 
samepage boolean "false"
xml:base anyURI  
xml:id ID  
xml:lang language or "" (the empty string) .

Other attributes: XHTML5 global attributes, including any attribute having a name starting with "data-".

Parents

The following elements contain chapter: book, part.

Children

The following elements occur in chapter: body, head, related, section.

Example

1
2
3
4
5
6
<part>
  <chapter href="pages/install.html">
    <section href="pages/requirements.html" samepage="true"/>
  </chapter>
  <chapter href="pages/quick_start.html"/>
</part>