HTML code for new page

My application produces several pages of report in HTML format.
For page-break I use this code:
MSWORD: <br clear="all" style="page-break-before:always" />
browsers: <p style="page-break-after: always"></p>
This works fine for both cases.
I am trying to make this report compatible with Openoffice Writer and Libreoffice Writer. Is there any HTML code for new page?

For LibreOffice you can use <p style="page-break-before: always">. In addition you can use e.g. <style type="text/css"> @page { size: 14.8cm 10.5cm; margin-left: 1cm; margin-right: 1cm }</style> in the header to set the page size and margins.

LibreOffice can write HTML and looking at the exported file might give you an idea, what LibreOffice is able to import. Besides that, simple try it. You can get LibreOffice without any costs.

At first, thanks a lot for your reply.
I tried it, but it does not work. Writer just ignores this statement, like the other one i use for msword (which is quite similar).
I insert some page breaks manually (from menu), I save the document as HTML and then I open it again with writer. It has lost all page breaks.
I could upload a 4 page report in HTML format with the proposed page-break code.

Goto Tools > Options > Load/Save > HTML Compatibility and make sure that in section Export the item “Print layout” is checked. [You should set Character set to Unicode in addition in the same place.]

I followed all your suggestions. However, while saving in HTML it does not keep the page breaks.It dispays a message, that some formated context could not be saved correctly, and if I open it again with Writer, all page breaks are lost.
I use the last version of Writer.