Copyright © tutorialspoint.com

CSS - orphans

previous next


Description:

The orphans property is used to set the minimum number of lines in an element that must appear at the bottom of a page.

Possible Values:

Applies to:

All the block-level elements.

DOM Syntax:

object.style.orphans="10"

Example:

Here is the example:

<style type="text/css"> p {orphans: 3;} ol {orphans: 5;} </style>

previous next

Copyright © tutorialspoint.com