CSS PAGE-BREAK-AFTER

This property specifies the page-breaking behavior that should occur after an element box and on what side of the page the content that follows should resume on. Page breaks are not allowed in absolutely positioned elements.

Example
p { page-break-after: always }

Test text in the paragraph

Possible Values
Value Description
inherit Explicitly sets the value of this property to that of the parent.
auto Insert a page break before the element as necessary.
avoid Avoid inserting a page break before the current element box.
leftright left: Force one or two page breaks after the current element box until a blank left page is reached.

right: Force one or two page breaks after the current element box until a blank right page is reached.

always Always force a page break before the current element box.
{empty string] No property value is used in this case. A page break is not inserted before the current element box.