Group and wrap elements

Grouping and wrapping are both ways to work with a set of elements as if they were a single object. Groups and wraps can contain any number of elements, including nested elements and other groups and wraps. They can also contain animated elements and events.

Wrapping elements

Wrapping elements gives you a simple way to work with multiple elements. When you wrap a set of elements, they get placed within a div, which you can manipulate as a single object.

Grouping elements

This feature is unavailable for AMPHTML ads.

Grouping elements creates a reusable object that can be included in documents as instances, which are references to the group's elements. Any changes made to the group are reflected in all the instances of that group.

Groups are also assets, and appear in the Library. They can be used in the document workspace or nested within a div, the same way as any other asset.

Search
Clear search
Close search
Google apps
Main menu
1593763952676629562
true
Search Help Center
true
true
true
true
true
5050422
false