Why should I group elements with div?

What is the point of grouping elements using div??

1 Like

Could one imagine what it would be like if there was no such thing as a box or a bag?

3 Likes

Is there a difference between the “div” element and the “section” element?

The division element should be used as a last resort to grouping elements together, as there are plenty of other more specific semantic elements provided in HTML5. Sections are used to group elements relating to the same theme. Divisions group elements without having a specific topic or meaning.