CSS widows Property

The css widows property defines the minimum number of lines that can appear in the beginning of a new page. In typography, a widow is the last line of a paragraph appearing alone at the top of a page, which is considered to look awkward. Setting the widows property to an integer higher than 1 prevents this. On a non-paged media, like screen, the widows CSS property has no effect. It can have a number value or it can inherit the values from the parent element.

Syntax for widows property

integer | inherit