# Html in multistate button text

**URL:** <https://forum.inductiveautomation.com/t/html-in-multistate-button-text/58288>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 11, 2022, 12:52pm UTC](https://forum.inductiveautomation.com/t/html-in-multistate-button-text/58288 "2022-04-11T12:52:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Urvish\_Mehta](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/urvish_mehta/32/81912_2.png) [@Urvish\_Mehta](https://forum.inductiveautomation.com/u/Urvish_Mehta)\
**Post date:** [April 11, 2022, 12:52pm UTC](https://forum.inductiveautomation.com/t/html-in-multistate-button-text/58288/1 "2022-04-11T12:52:29Z")

</div>

Hello Everyone,  
I am using multistate button and in one of the button text is longer that button size so I want to wrap text. I usually use html to do that in labels but I am not able to use it in this component, I don’t have length to fit text but I do have height,So if I wrap,It will fit. Please see picture

 ![Multistate](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/a/3a52a98af5776cdb4b03e657cf7c3dfd8ab8a2c7.png)

Let me know if I am doing something wrong or there is another way to do this.

---

<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:** [April 11, 2022, 3:24pm UTC](https://forum.inductiveautomation.com/t/html-in-multistate-button-text/58288/2 "2022-04-11T15:24:31Z")

</div>

`</n>` is not the HTML tag for a line break. Use `<br>`.

---

<div class="post-metadata">

**Author:** ![Urvish\_Mehta](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/urvish_mehta/32/81912_2.png) [@Urvish\_Mehta](https://forum.inductiveautomation.com/u/Urvish_Mehta)\
**Post date:** [April 11, 2022, 3:36pm UTC](https://forum.inductiveautomation.com/t/html-in-multistate-button-text/58288/3 "2022-04-11T15:36:15Z")

</div>

Thank you.
