Reason for replacement of <div> by <article> | Sololearn: Learn to code for FREE!


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?

6/20/2018 6:41:16 AM


1 Answer

New Answer


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.