Is it better to use just one article on the page? Like just one H1? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is it better to use just one article on the page? Like just one H1?

I think now I am starting to get it. So article is the tag for which previously i've used div with class content. Is it a better practice to use only one article on the page?

16th Feb 2019, 2:17 AM
Lilit Khachatryan
Lilit Khachatryan - avatar
2 Answers
0
It depends of the project. Also, is easier and faster to use a framework nowadays, almost always only is used div tag.
16th Feb 2019, 5:57 AM
AngelinG
AngelinG - avatar
0
It depends, it is always a good practice to have simplicity, so you can use same article if opposite is not required, always write simple code
16th Feb 2019, 9:14 AM
DvM
DvM - avatar