Creating Styled Text in a Web app

I wanted to set something up where an end-user could create some styled text in a Xojo web app - not complicated, different text sizes, bold text, and some parts left justified and some centered text.

I wanted to be able to output this into both plain text and html.

Is this possible?

I have done this in a desktop app, but not sure if this is possible in a web app.

Have-you read the Language Reference ?
http://documentation.xojo.com/api/user_interface/web/webtextarea.html
http://documentation.xojo.com/api/user_interface/web/webcontrol.html#webcontrol-style
http://documentation.xojo.com/api/user_interface/web/webstyle.html

Thanks. Every once in a while you just need to be pointed in the right direction.