# HTML Not Rendering in Text Label Component

**URL:** <https://forum.inductiveautomation.com/t/html-not-rendering-in-text-label-component/103662>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [March 13, 2025, 9:05pm UTC](https://forum.inductiveautomation.com/t/html-not-rendering-in-text-label-component/103662 "2025-03-13T21:05:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![asgharbmcproject](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@asgharbmcproject](https://forum.inductiveautomation.com/u/asgharbmcproject)\
**Post date:** [March 13, 2025, 9:05pm UTC](https://forum.inductiveautomation.com/t/html-not-rendering-in-text-label-component/103662/1 "2025-03-13T21:05:48Z")

</div>

Hello,

I am trying to display HTML content in a Text Label component, and I have used the following code:

"This is a **bold** word"

However, it is still displaying as a simple string and not applying any HTML formatting. I followed the example from this documentation:

[HTML in Vision Components](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/vision/working-with-vision-components/html-in-vision#using-html-in-components)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/2/b2a140a5324ecd799b576ed0054522210aada57c.png)

Is there a solution for enabling HTML rendering in the Text Label component?

Thank you.

---

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [March 13, 2025, 9:14pm UTC](https://forum.inductiveautomation.com/t/html-not-rendering-in-text-label-component/103662/2 "2025-03-13T21:14:27Z")

</div>

Your sceenshot is showing a **Perspective** screen and component. If you want to display HTML text in perspective you need to use a[markdown component](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-display-palette/perspective-markdown) and set `props.markdown.escapeHtml` to `false`

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 13, 2025, 10:08pm UTC](https://forum.inductiveautomation.com/t/html-not-rendering-in-text-label-component/103662/3 "2025-03-13T22:08:24Z")

</div>

More explicitly: You linked a section of the manual talking about **Vision** , one of the two different HMI/visualization systems Ignition supports. Vision has been around for a lot longer than Perspective, and works in a fundamentally different way, as it's backed by Java Swing.

Perspective, which is what you're using in the screenshot you posted, is our much newer visualization system that its backed by web rendering technologies, specifically React. You cannot embed arbitrary HTML inside React rendering stacks, because it would interfere with the rendering process. If you just want to display a text string with _some_ formatting, consider using the Markdown component as Ryan mentioned, but _not_ modifying the `escapeHtml` property, and just using Markdown formatting inline on your text.

---

<div class="post-metadata">

**Author:** ![asgharbmcproject](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@asgharbmcproject](https://forum.inductiveautomation.com/u/asgharbmcproject)\
**Post date:** [March 14, 2025, 12:28am UTC](https://forum.inductiveautomation.com/t/html-not-rendering-in-text-label-component/103662/4 "2025-03-14T00:28:44Z")

</div>

Thank You!

I want to sincerely thank Ryan White and everyone who took the time to help me with this issue. Your insights were really helpful!

By using the Markdown component and setting props.markdown.escapeHtml to false, my issue was successfully resolved.

I truly appreciate the support and guidance from this amazing community. Thanks again!
