I've got a span that I'm using as a tooltip for a checkbox on a web page, and I want there to be a line break in the tooltip. None of the following have worked:
<span title='This<br />is a tooltip'></span>
<span title='This
is a tooltip'></span>
document.getElementById('mySpan').setAttribute('title', 'this\nis a tooltip');
Is this even possible?
Duplicate: