7.18. Element section

Specifies a section 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 section: appendix, backmatter, chapter, frontmatter, section.

Children

The following elements occur in section: 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>