Var in htmlViewer

I would like to build an html variable dynamically and display it as if it were a web page.

Is there any way to get an variable with html code to display like as if it were a web page?

Thanks

The LR is your friend : http://documentation.xojo.com/index.php/WebHTMLViewer.LoadPage