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
4 Antworten
+ 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.
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.
0
Thanks guys
0
Your welcome... 😄😄😄