The <header>
element represents the header section of a page, generated from the header/footer section of a source document. There can be one <header>
and one <footer>
per page.
Attributes
Attribute | Description |
left | The left offset of the header in pixels. |
top | The top offset of the header in pixels. |
width | The width of the header in pixels. |
height | The height of the header in pixels. |
styles | Contains a semicolon delimited list of name:value pair style information values. |
Styles
Style | Description |
sectionType | Indicates the type of header/footer that was used to generate the content; can be one of the following:0 Even1 Odd2 First |
header | Indicates if the node is a header or footer; this can also be achieved by looking at the node name. |
Children
Node | Description |
<p> | |
<float> | |
<table> | |
Example
<page styles="..." left="0" top="0" width="816" height="1056">
<header styles="sectionType: Odd; header: 1; " left="96" top="48" width="624" height="81">
<p styles="..." left="96" top="48" width="624" height="19" paragraphId="0">
...
</p>
</header>
</page>