+ 1
What is the difference between article, section and div in html?
2 Respuestas
+ 4
its only semantic difference. All can work same, but google's bots position better page if contain html5 tags, and its easier to underatand code by other ppl if u use simple html5 tags.
exemple:
<div class="section">
...
</div>
in html5:
<section>
...
</section>
Ofc, in html5 we have more new tags. You can search an article to know all of them.
+ 1
@mateusz maurycy mazur
so u mean div tag is not used?i mean
<div class="x"> is equal to <x>?
so why still in most of codes i see ppl use div tag a lot? i can't understand help me😔