Reputation: 40140
It seems not,as they are showing up as cleartext.
I am trying to format a rather large tootlip by inserting <p>
and <br>
, but, as I say, Chrome treats them as text.
What am I allowed to put into such a tooltip? Anything other than a single string?
Since \n
seems to be ignored, is there any way to get a line break into such a string?
Upvotes: 0
Views: 43
Reputation: 2117
You can add symbol for a new line: 
(\r) or 

(\n) to your title.
<a href="" title="first row
second row
third row">test</a>
Another option is to find some JavaScript tooltip library.
Upvotes: 2
Reputation: 21684
If you feed them actual line breaks, they will work.
<span title="Two
Liner">Hover here</span>
However, if you need more complex HTML inside, I'd suggest qTip or Bootstrap's tooltips
Upvotes: 1