Edit in JSFiddle
Result
HTML
JavaScript
<p title="Hello world">This is demo for jQuery Tooltip.</p>
$(function () { $("p").tooltip(); });