Using the Page Break tag

The Page Break <pbr> tag is used to force elements under it to be printed on the next page. A common mistake when using this tag is it is paired with a closing tag. See the sample code below:

<!--Wrong usage of pbr tag -->
<pbr>
[Elements to print on the next page]
</pbr>

Since <pbr> is a standalone tag, it does not need to be closed, and for compliance with XML standards, standalone tags should have ‘/’ after the tag name. See the code below:

<!--Correct usage of pbr tag -->
<pbr />
[Elements to print on the next page]

Leave a comment

Your email address will not be published. Required fields are marked *