Display HTML text

I am trying to get a text file to display in a dynamic scrolling textbox as HTML. What do I need to put in my code so that the textbox displays it correctly and leaves out the HTML tags?