When you assign classes to elements in your page, you usually put elements part of the same class in the same section of your page. You can use the <div> tag to store all the elements with that class. Such a thing is called a container.
In order to store elements of the same class in a div, you put them all in a <div> tag. Inside the <>, after the div, add the class attribute, so that HTML knows what class each element in the div is. This way, you don't have to put the class attribute into every single tag in the div. Here's an example:
This code yields the following result:
You might be thinking that div is just a waste of time. But it is needed when you use flexbox, which you will learn next.