This is online so you need to use HTML/CSS features to control how to display items.
I suggest:
HTML[
^] as a start.
There are numerous strategies to allow users to input text formatting when the interface only allows plain-text. You'll need to choose one that fits the nature (i.e., abilities) of your users.