Описание тега page-break-inside

NoneA CSS property that defines page breaks inside the current element such as avoid

Description

The page-break-inside CSS property adjusts page breaks inside the current element.

Syntax

page-break-inside: value;

where value can be either,

auto - Initial value. Automatic page breaks (neither forced nor forbidden)

(or)

avoid - Avoid page breaks inside the element.

Example

/* avoid page break inside the paragraph */
p { 
    page-break-inside: avoid;  
}

References

  1. W3C Specification
  2. MDN Link