Skip to content

Page numbers and breaks

Displaying page numbers

If you want to display page numbers in the document, you can add the following HTML element:

<div class="pageNumber"></div>

Tip

You can display the page number in the header or footer of the document by adding the pageNumber element to them. Go here to learn more about adding headers and footers to the document.

Forcing a page break

As the content of the document grows, it will flow from one page to the next. If you want to force a page break at a specific point in the document, you can add a page break element by adding the following HTML element:

<div class="pageBreak"></div>