HTML DOM Style Object Printing Properties

What are all the printing properties available in the style object?

Explanation

HTML DOM Style Object Printing Properties:
The printing property is used to change the properties of a print document at runtime.The misc properties of the style object were listed in the table given below:
syntax:
object.style.property=value;
Printing Property Description values
orphansspecifies the minimum number of lines for a paragraph that must be left at the bottom of a page
widowsspecifies the minimum number of lines for a paragraph that must be left at the top of a page
pagespecifies the page type to be used when displaying an element
pageBreakAfterSpecifies the page-breaking behavior after an elementauto,always
avoid,left
right
pageBreakBeforespecifies the page-breaking behavior before an elementauto,always
avoid,left
right
pageBreakInsidespecifies the page-breaking behavior inside an elementauto
avoid
sizeSets the orientation and size of a page

Ask Questions

Ask Question