CSS WIDOWS

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

Example
1
2
3
p {
  widows: 1
}
1
<p style="widows: 1">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 top of a page.