How to remove tag using JQuery but without tag inner content?

How to remove tag using JQuery but without tag inner content?
Remove tag using JQuery We can remove HTML tag using jquery by different scenarios. 1. $('a').contents().unwrap(); This will remove the anchor tag but keep the anchor inner HTML. 2. Come to performance view below code is useful. var b = document.getElementsByTagName('a'); while(b.length)...