change html tag
/* change h3 to h2 in blog list view */ $(function() { $('.news-list-view h3').each(function(i, em) { $(em).replaceWith('<h2>'+$(em).html()+'</h2>'); }); });