Reason for replacement of <div> by <article> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
htthegr8
1 Answer
0
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
wenz - avatar