HTML HTML Basics Structuring Your Content Sectioning Content with <article>, <nav> and <aside>

Pitrov Secondary
Pitrov Secondary
5,121 Points

don't developers use div anymore?

Now that we have article, footer, header, main, section etc. doesn't developers use div anymore?

1 Answer

Andrew Hinkson
Andrew Hinkson
Full Stack JavaScript Techdegree Student 18,917 Points

Developer still use <div> just not for "everything". With semantic HTML and the development of better accessible devices ie screen readers there are now elements such as <article>, <section>, <aside>, etc.

<div> can still be used but if there is another element that better explains or describes the content then the new elements should be used.