wrapAll() Method

Syntax

.wrapAll()

Description

wrapAll() method is used to wrap all the specified HTML elements into a single wrapper element.

Example Code

Result:

Text1

Text2




Ask Questions

Ask Question