Wrap an HTML structure around each element in the set of matched elements. .wrap()
Wrap an HTML structure around all elements in the set of matched elements. .wrapAll()Wrap an HTML structure around the content of each element in the set of matched elements. .wrapInner()Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place. .unwrap()$('.inner').wrap(' ');HelloGoodbyeHelloGoodbye$('.inner').wrapAll(' ');HelloGoodbyeHelloGoodbye$('.inner').wrapInner(' ');HelloGoodbyeHelloGoodbye