Forcing a page-break after, or before an element
If you want to force a page break before an element (such as a paragraph), then you would add the following code:
<p class="page-break-before">Text text</p>
This will work on any block level element, such as a p tag, an h2 or h3 tag etc. So, for a page break after a heading you would add the following:
<h2 class="page-break-after">This is my heading!</h2>
Note: This will only work in PDF output. In ebooks, pagination is automatic & variable, and depends on user settings (font-size etc). In the Web book, each chapter is a new "page."
For more information, check out this guide chapter.