$(".demo").prepend("Yo!"); // adds content at the beginning in the selected elements
$(".demo").append("<em>Hey!</em>"); // adds content at the end in the selected elements
$(".demo").before("Cheers"); // adds content before the selected elements
$(".demo").after("<em>Peace</em>"); // adds content after the selected elements