Edit in JSFiddle

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