Export HTML to word control codes

Exporting data using to Microsoft word there are special character codes which can be used to render the content providing new pages or table borders and row background colours, for example.

An HTML export saved as a .doc file will be rendered as a standard document.

I have also found that LibreOffice supports many of these codes.

Page specific codes

Examples of codes for page rendering

New page force

Table rendering

Table rendering examples