@LENI4C
Posted
Honestly I think it'll still be div π, and it gets down to personal preference too, there's section, aside and main, they're all divs-ish i.e they serve as containers, only difference is their semantic meaning, and to replace a div what I'd use is section and the way I use it would be in a scenario where I have this huge block that has many other items in it and has a display of flex already so they're displaying as columns (i.e the items in the block), I set the block to be a section then I nest divs inside of the section because that is a section of the page and that section has other divs in it, the section can still be replaced with div and it'll work just as fine, but it semantically makes sense to make it a section. really hope this made sense and was able to answer what you asked
Marked as helpful
@andrearecuyo
Posted
@LENI4C That seems to make a lot of sense, I will practice using other tag elements too to maximize my knowledge about HTML. Thank you for commenting!