You can use the appendChild method:
var newDiv = document.createElement('div');
newDiv.innerHTML = "Price:<strong>£12.30 (Ex VAT)</strong>";
document.getElementById('parentDiv').appendChild(newDiv);
Here is the jquery equvalent of the above code:
var newDiv = $("<div>Price:<strong>£12.30 (Ex VAT)</strong></div>");
$('#parentElement').append(newDiv);
Or:
$("<div>Price:<strong>£12.30 (Ex VAT)</strong></div>").appendTo("#parentElement");
source
share