The .wrap() function can take any string or object that could be passed to
the $() factory function to specify a DOM structure. This structure may be
nested several levels deep, but should contain only one inmost element. A
copy of this structure will be wrapped around each of the elements in the set
of matched elements. This method returns the original set of elements for
chaining purposes.
The .wrap() function can take any string or object that could be passed to the $() factory function to specify a DOM structure. This structure may be nested several levels deep, but should contain only one inmost element. A copy of this structure will be wrapped around each of the elements in the set of matched elements. This method returns the original set of elements for chaining purposes.
Example
See
https://api.jquery.com/wrap/