# body element

Type: | Document Structure
Attributes: | compress • footer • onopen • pagenumber • align • background-color • background-image-dpi • background-image-position • background-image • background-pdf • border-color • border-style • border-width • border • clear • corner-radius • display • float • font-size • height • href • left • line-cap • line-height • line-join • margin • onmouseover • overflow • padding • page-break-after • page-break-inside • position • rotate • size • top • vertical-align • visibility • white-space • width • class • colorspace • direction • id • lang
See: | head pbr pdf

Contains the body of the document. Every pdf must have exactly one body tag defined.
Attributes defined on the body will be set for each page in the document, unless overriden by either the pbr element or by a numbered page in the stylesheet.

This sets every page in the document to "Letter" format (8.5 x 11in) with a half inch margin.

    <pdf>
      <body size="letter" margin="0.5in">
        This is a very simple PDF document
      </body>
    </pdf>