How to I use the tipsy ( to read from the title tag in the

<a href="#", title="Hello<br>World">Hello World</a>

From what I can do is to use the tipsy code:
$('#example-html').tipsy({html: true });
The final code which I wish to create may look something like the following:
for (var i=0; i<10; i++){
document.write("<a href='#', title='Hello<br>" + i + "' class='example-html'> Hello " + i + "</a>");
Appreciate any help offer