Zhenya Zhenya - 6 days ago 8
CSS Question

Is it correct to put more articles on the page

Example: page that describes 10 sightseeing of the city. I've put each one to the tag: https://www.best-of-copenhagen.com/en/visit-copenhagen-in-1-2-days
But now I am not sure that it is a correct thing. What should I use to divide them? Section - no... I need put them in some element, if article is wrong - I'll use just for styles.


The article tag specifies independent, self-contained content.


well, yes and no... it's independent because each article describe one thing...

Answer

Your page is an article which contains multiple section tags (chapters). What you did is you put your article inside a main tag.

More info here.

Comments