# Format text in tooltip

**URL:** <https://forum.inductiveautomation.com/t/format-text-in-tooltip/58307>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [April 11, 2022, 4:00pm UTC](https://forum.inductiveautomation.com/t/format-text-in-tooltip/58307 "2022-04-11T16:00:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thewebpleb](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/thewebpleb/32/27415_2.png) [@thewebpleb](https://forum.inductiveautomation.com/u/thewebpleb)\
**Post date:** [April 11, 2022, 4:00pm UTC](https://forum.inductiveautomation.com/t/format-text-in-tooltip/58307/1 "2022-04-11T16:00:45Z")

</div>

I’m trying to format the text that appears in the tooltip because I want to add a small paragraph of text, just to give context to an action. I believe the tooltip is the best way to accomplish this - for most people, the action will be quite clear, but in some cases, an explanation is good, too.

However, when I add text into `meta.tooltip.text`, it places all the text in one line, even when I try to use a line break, such as `<br>` or [`&#10;`](https://stackoverflow.com/a/37811632/9036593) (HTML) or a double space `' '` or `\` (Markdown). Is there a way to accomplish this?

When I look at the Perspective markup in a browser, it looks like the text is added to a `div` - there isn’t any special component.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/2/7260e4d9e255dd3486610c7473f8d135006d3140.png)

Here is what it looks like in a session:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/0/f0ae1397005bb754a852c275404df2d0eef16673.png)

---

<div class="post-metadata">

**Author:** ![thewebpleb](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/thewebpleb/32/27415_2.png) [@thewebpleb](https://forum.inductiveautomation.com/u/thewebpleb)\
**Post date:** [April 11, 2022, 4:04pm UTC](https://forum.inductiveautomation.com/t/format-text-in-tooltip/58307/2 "2022-04-11T16:04:14Z")

</div>

[https://docs.inductiveautomation.com/display/DOC81/Perspective+Component+Properties#PerspectiveComponentProperties-Multi-LineTooltips](https://docs.inductiveautomation.com/display/DOC81/Perspective+Component+Properties#PerspectiveComponentProperties-Multi-LineTooltips)

Of course I find it after I posted the question 🗿
