Possible duplicate:
How to use carriage return in HTML tooltip?
Currently, if I want to insert a new line in title=, I would do the following:
<span id="dummy" title="Hello
World!">Dummy</span>
Live demo: http://jsfiddle.net/DerekL/XFMfx/
But it looks weird to me, and it just messed up my HTML file. Imagine all those new lines. So I wonder if there is a better way to achieve this so that it does not spoil it.
Thank.
source
share