Edit in JSFiddle

$(function() {
    $('div').prepend($('<em>prepend text - </em>'));
    $('p').prepend($('<em>').attr('title', 'text title attr').text('prepend text with title attr - '));
});
<div>div</div>
<p>paragraph</p>

External resources loaded into this fiddle: