CSS ORPHANS

This property specifies the minimum number of lines of content for the current element that must be left at the bottom of a page in a paged display environment.

Example
1
2
3
p {
  orphans: 4
}
1
<p style="orphans: 4">test text in the paragraph</p>

Possible Values

inherit: Explicitly sets the value of this property to that of the parent.
[integer]: Specifies an integer value representing the minimum number of lines of content that must be left at the bottom of a page.