7.16. Element part

Specifies a part —a group of chapters— of the ebook.

Content model

(head? , body? , related* , chapter+)

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 part: book.

Children

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

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>