What you should do is to use HTML to mark up headings, paragraphs, lists, ... With proper use of HTML, such operations are not difficult, but with a muddle of ...
www.w3.org/MarkUp
Overview of HTML (HyperText Markup Language), including its history, elements, attributes, delivery, and flavors.
en.wikipedia.org/wiki/HTML
Offers multiple markup validity and broken link check services for web documents in HTML, XHTML, SMIL, etc.
validator.w3.org