Replace Content in HTML Element Using jQuery

$('.my-class').html('<a href="#">testing</a>');