Copyright © tutorialspoint.com
The widows property is used in paged media to control line breaks by specifying the minimum number of lines in a paragraph that should be left at the top of the page.
All the Block level elements
object.style.widows="5"; |
Here is the example to create 4 lines at the bottom and 3 lines at the top of each page:
<style tyle="text/css"> <!-- @page{orphans:4; widows:2;} --> </style> |
Copyright © tutorialspoint.com