+ 2
article = div?
Why do I need a new tag if it means the same thing as a div?
3 Respostas
+ 3
To make it more readable. Example :
<div>Hi, I am an article</div>
<article>I am an article</article>
Which one is more readable? :))
+ 1
Clearly explained :)
+ 1
in the old days it did the following in html: <div id = "article"> </div>
<div id = "section"> </div>
<div id = "nav"> </div>
now in the new html5 format the new tags have been incorporated: <section> </section>
<nav> </nav>
<article> </aside>
and many more, it would be good if you take a look