what is diference between <article> and <div>? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is diference between <article> and <div>?

in html 5, article tag is replaced in place of div tag.

9th Jan 2017, 3:48 PM
Naimish Vasoya
Naimish Vasoya - avatar
1 Answer
+ 7
article refers to a block of text that has important meaning on the page, its used so we can separte content from layout. div is any division on the layout, a box, a column, etc. article is a special type of div
9th Jan 2017, 4:05 PM
Igor Busquets
Igor Busquets - avatar