Reason for replacement of <div> by <article> | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

Reason for replacement of <div> by <article>

As far as I have studied and applied web development, I find the <div> more comfortable for styling than <article>, but still it has been replaced in HTML5, I can't understand, or is it that I am missing something?

20th Jun 2018, 6:41 AM
1 Respuesta
div and article are block elements, there should be no difference in respect of styling. for search engines the article element is more specific and therefore better to identify patterns of how the content is structured.
20th Jun 2018, 6:51 AM
wenz - avatar