# Var in htmlViewer

**URL:** <https://forum.xojo.com/t/var-in-htmlviewer/30806>\
**Category:** Web\
**Created:** [April 11, 2016, 7:44pm UTC](https://forum.xojo.com/t/var-in-htmlviewer/30806 "2016-04-11T19:44:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard\_Albrecht](https://forum.xojo.com/user_avatar/forum.xojo.com/richard_albrecht/32/817_2.png) [@Richard\_Albrecht](https://forum.xojo.com/u/Richard_Albrecht)\
**Post date:** [April 11, 2016, 7:44pm UTC](https://forum.xojo.com/t/var-in-htmlviewer/30806/1 "2016-04-11T19:44:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Michel\_Bujardet](https://forum.xojo.com/user_avatar/forum.xojo.com/michel_bujardet/32/252_2.png) [@Michel\_Bujardet](https://forum.xojo.com/u/Michel_Bujardet)\
**Post date:** [April 11, 2016, 8:00pm UTC](https://forum.xojo.com/t/var-in-htmlviewer/30806/2 "2016-04-11T20:00:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 6:15pm UTC](https://forum.xojo.com/t/var-in-htmlviewer/30806/3 "2020-10-29T18:15:56Z")

</div>


