Reduce excessive DOM on elements

Let’s work together by identifying elements that might have excessive DOM size, that could potentially be reduced to improve overall cleaner and better output. I think nearly every element has a div parent added. If possible, they should be removed. I’ve posted three examples below.

2 Likes

Adding a background creates a div for the background. Is this necessary?

1 Like

Adding a heading should only add the heading tag. But it adds the heading inside of a div.

1 Like

Adding an icon with i tag creates an unneeded div

2 Likes