Button and container div markup is given by
<input type="button" id="injectDynamicMarkup" value="Click">
<div id="DynamicDiv"></div></input>
Script add dynamic markup is as follows
var dynamicMarkup='<div class="news">'+
'<img src="./images/1.jpg" />'+
'<content>'+
'<a class="person" href="">Lubomyr Pelyo</a>'+
'<br />'+
'<comment>'+
'First record in news'+
'</comment>'+
'<br />'+
'<settings>'+
'<a href="">Comment</a>'+
'<a href="">Share</a>'+
'<a href="">Remove</a>'+
'</settings>'+
'</content>'+
'<br style="clear:both" />'+
'</div>';
$("#injectDynamicMarkup").click(function(){
$("#DynamicDiv").html(dynamicMarkup);
});