Sales or Technical Support: (503) 468-4890 or

How to add page breaks to html

We often get the question about creating HTML that sends proper page breaks to the printer.

It's actually very easy to handle. There are two ways to do it:

1) via CSS - for the advanced HTML users:

<p style="page-break-after:always;"></p>

2) with a simple comment:

<p><!-- pagebreak --></p> 

For example, if you try printing this page (try Chrome print preview) the line below should be on a second page:

Page break below this line.

This line should be on the top of the second page.

That's it.

See some samples of our work

See Portfolio

Looking for a new website?
Let us build it for you

Get a free quote

Or just see how much things cost


Web Design & Web Development by LVSYS