See my recent post here. I linked to all the best Styles + LibreOffice info I've written:
https://www.mobileread.com/forums/sh...11#post4264811
Styles in LibreOffice/Word are pretty much = HTML "classes".
So, if you use Styles in your documents:
- "Heading 1" Style -> <h1> in HTML
- "Heading 2" Style -> <h2> in HTML
- "poetry" Style -> <p class="poetry"> in HTML
- "centered" Style -> <p class="centered"> in HTML
This gives you very clean HTML for your ebook.