Possible Duplicate:
How can I use a carriage return in a HTML tooltip?
Currently if I want to insert a new line in title=
, I would do this:
<span id="dummy" title="Hello
World!">Dummy</span>
Live demo: http://jsfiddle.net/DerekL/XFMfx/
But this looks really weird to me, and it just messes up my HTML file. Just imagine all those new lines
in it.
So I'm wondering if there is a better way to achieve this, so that it won't mess it up.
Thanks.