0

Should we use <article> instead of <div> in HTML5? Is it preferable?

"The <article> element replaces the <div> element that was widely used in HTML4, along with an id or class." - SoloLearn

14th Jun 2017, 11:58 AM
Marina Georgieva
4 Respostas
+ 2
>>You can use both in your webpage >>You can use only div or >>you can use only article Both article and div use as a container.
14th Jun 2017, 5:33 PM
Rajeev Jain
Rajeev Jain - avatar
0
you are free to use div or html5 elements, both working normal, but for better understanding of your design it is better to use html5 elements as they already explainable by their names.
14th Jun 2017, 1:52 PM
Peshkawt Mahmood
Peshkawt Mahmood - avatar
0
Thanks guys
14th Jun 2017, 5:44 PM
Marina Georgieva
0
Your welcome... 😄😄😄
14th Jun 2017, 5:45 PM
Rajeev Jain
Rajeev Jain - avatar