body element

Type:Document Structure
Attributes: compress  •  footer  •  onopen  •  pagenumber  •  align  •  alt  •  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  •  title  •  top  •  vertical-align  •  visibility  •  white-space  •  width  •  class  •  colorspace  •  direction  •  id  •  lang  •  pdf-tag-background-color  •  pdf-tag-border-color  •  pdf-tag-border-style  •  pdf-tag-border-thickness  •  pdf-tag-color  •  pdf-tag-list-numbering  •  pdf-tag-placement  •  pdf-tag-table-colspan  •  pdf-tag-table-headers  •  pdf-tag-table-rowspan  •  pdf-tag-table-scope  •  pdf-tag-table-summary  •  pdf-tag-text-align  •  pdf-tag-type
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>