Node:sect 1.7, Next:, Previous:sect 1.6, Up:chap 1



body

After the head and intro elements, there must be one body element. This is the body of the document.

The body may be divided into chapters, or parts, or tomes, depending on the documentation project that is started. Tomes are delimited with the element tomeheading, that contains the tome title; parts are delimited using the element partheading, with the same meaning.

Chapters and lower sectioning are a little anonymous, like HTML: h1, h2, h3 and h4. This is done that way because introduction, body and appendix may have the same method for text sectioning.

     <body>
     <partheader>Networking</partheader>
     
     <h1>IP protocol history</h1>
     
     <p>Bla bla bla...</p>
     
     <p>Bla bla bla...</p>
     
     <h2>ISO/OSI model</h2>
     
     <p>Bla bla bla...</p>
     
     <p>Bla bla bla...</p>
     
     <h1>IPv4 and IPv6</h1>
     
     <p>Bla bla bla...</p>
     
     <p>...</p>
     
     </body>
     

Every sectioning element, from tome to last sub-subsection, have an optional attribute: id. This attribute may be used to define an identification string that can be the target for cross references.

     <h1 id="ip history">IP protocol history</h1>
     

Note that due to Texinfo design limitations, cross references labels cannot contain the comma.