Repologo html jaQuery
$( "div.second" ).replaceWith( "<h2>New heading</h2>" );
Panicky Peafowl
$( "div.second" ).replaceWith( "<h2>New heading</h2>" );