How to Group A Content In Html

Hello guys can you tell me how to group a content in html with div and span.I know semantic html but i want to know how all of you use div class container and row what are these can you explain these word class and can you also tell me how to use it to group content in better way :grinning:

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.

  <p>line 1</p>
  <p>line 2</p>
  <p>line 3</p>

A class just helps CSS and JS target that element.

If you provide an example, we could help better.

i got it with your div thanks