Type into html formatted text into a web form


I would like to copy text that is already formatted with HTML (bold, font, links/URLs, etc.) into a web page with a text box (well a div but it is a text box).

When I use typeinto i get the HTML instead of the formatted text (I’m using Create HTML Content for it). The other problem is that for now I’m just starting with hardcoded content and I want to eventually be able to customize it based on data I have. Similar to mail merge, where some fields will be substituted.

Anyway, thanks for any help in advance.