var myDiv = $('');
myDiv.append('min
');
$('body').append(myDiv);
The append function doesn't append html to the document. It appends elements to the document object tree.
You could, however, just write this on one line like this, if you wish.
$('body').append('');
Boom.