I need page break html feature for my project, so I just wanted to try few simple examples in order to learn how it works. Problem is, none of the examples I found online work, including 2 exampels I found on stackoverflow. These are examples I tried: Example 1:
<html>
<body>
This is
<p style="page-break-before: always">
Page #2...
<p style="page-break-before: always">
Page #3...
</body>
</html>
Example 2: php code to break page after 6th row
And W3schools doesn't provide example :(. I even tried in different browsers but nothing... Can someone please tell me what I am missing, or provide me with a simple few lines code that will actually break a page? Thanks in advance.