Answers for "print html with page break"

CSS
0

html print page break

@media print {
    .pagebreak { page-break-before: always; } /* page-break-after works, as well */
}

//Then add a div with class=pagebreak any where you want a page break.

<div class="pagebreak"></div>
Posted by: Guest on September-20-2021

Browse Popular Code Answers by Language