I’m not sure I understand. Could you provide a code example and explain what you are trying to do?
You group things with a
div by surrounding it with the appropriate tags.
class just helps CSS and JS target that element.
If you provide an example, we could help better.