# Label text property

**URL:** <https://forum.inductiveautomation.com/t/label-text-property/426>\
**Category:** Archived Topics\
**Created:** [December 4, 2007, 5:52pm UTC](https://forum.inductiveautomation.com/t/label-text-property/426 "2007-12-04T17:52:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![qurban](https://avatars.discourse-cdn.com/v4/letter/q/3d9bf3/32.png) [@qurban](https://forum.inductiveautomation.com/u/qurban)\
**Post date:** [December 4, 2007, 5:52pm UTC](https://forum.inductiveautomation.com/t/label-text-property/426/1 "2007-12-04T17:52:02Z")

</div>

Hi Guys,  
How do you make the text in the text property of a label appear in two lines. For example If I open up the string Editor and enter the text as two lines, It still shows up on the label as one line.  
Regards  
Qurban

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [December 4, 2007, 5:55pm UTC](https://forum.inductiveautomation.com/t/label-text-property/426/2 "2007-12-04T17:55:31Z")

</div>

You have to use HTML formatting for this. For example, use the text:

```auto
<HTML>Line 1<BR>Line 2
```

The   
 is an HTML line break. HTML formatting is a very useful tool in FactoryPMI, and can be used almost anywhere, including inside table cells.

Also, if you just start the text with `<HTML>`, it will the automatically wrap.

Hope this helps,

---

<div class="post-metadata">

**Author:** ![qurban](https://avatars.discourse-cdn.com/v4/letter/q/3d9bf3/32.png) [@qurban](https://forum.inductiveautomation.com/u/qurban)\
**Post date:** [December 4, 2007, 6:34pm UTC](https://forum.inductiveautomation.com/t/label-text-property/426/3 "2007-12-04T18:34:07Z")

</div>

Thanks. That works.

---

<div class="post-metadata">

**Author:** ![bill.diblasi](https://avatars.discourse-cdn.com/v4/letter/b/8baadc/32.png) [@bill.diblasi](https://forum.inductiveautomation.com/u/bill.diblasi)\
**Post date:** [May 14, 2018, 5:45pm UTC](https://forum.inductiveautomation.com/t/label-text-property/426/4 "2018-05-14T17:45:15Z")

</div>

Hello, I know this topic is quite old but I cannot figure out how to set automatic text-wrapping in a label. Your response seems to have been processed by my web browser and I can’t actually see what characters you would use to indicate auto-wrap. I’ve looked at another post in which the answers have the same issue.

---

<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:** [May 14, 2018, 6:10pm UTC](https://forum.inductiveautomation.com/t/label-text-property/426/5 "2018-05-14T18:10:02Z")

</div>

The relevant prefix is `<HTML>` (I’ve amended Carl’s original post)
