3
Reply

html with page breaks

dc

dc

Nov 2 2016 2:22 PM
294

In a web form 2010 application, I Have the following html generated:

<html><body><p>test1</p><p style="page-break-after:always;"></p><p>test2</p><p style="page-break-after:always;"></p><p>test3</p><p style="page-break-after:always;"></p></body></html>

I am using this html as a test case. I would like to have a page break for a file printed in a pdf format to print paragraphs on separate print pages?
 
Can you show me the html that needs to be used so the separate test paragraphs print on separate pages? 
 
Do I need to use html5 ? If so, would you show me how to make the html use html5? 

Answers (3)