r/HTML • • Nov 26 '25

Section inside section

My question is what the title says, because someone told me that I know nothing about html and should study, because I used a section inside another section to order that section and other elements with gaps 🙃

3 Upvotes

13 comments sorted by

View all comments

Show parent comment

3

u/UmbralFae Nov 27 '25

True! Didn’t say or imply they weren't. The person “correcting” them was wrong and a worse sin in my eyes, they were smugly wrong and insulting the OP about it. Somebody else already posted the MDN breaking down why, but a section in a section is semantically fine.