dc

dc

  • NA
  • 663
  • 0

html with page breaks

Nov 2 2016 2:22 PM

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)