DEV Community

Discussion on: Is div still a div?

abhinav1217 profile image
Abhinav Kulshreshtha

div is still a div.
When you need an article, use article. When you need a section, use section. But when you just need a block container to arrange common stuff, for UI purposes, when a grouping elements does not need to convey semantic message. Use div.