Section vs Article HTML5

I have a page made up of various “sections” like videos, a newsfeed etc.. I am a bit confused how to represent these with HTML5. Currently I have them as HTML5 <section>s, but on further inspection it looks they the more correct tag would be <article>. Could anyone shed some light on this for me?

None of these things are blog posts or “documents” in the true sense of the word so it’s kind of hard to see which element to apply.

Cheers

EDIT: I have opted to use the article tag since it seems to be a container tag for unrelated elements which I guess my “sections” are. The actual tagname article however seems to be rather misleading and although they are saying HTML5 has been developed with greater consideration for web applications, I find a lot of the tags to be more blog-centric / document based.

Anyway thanks for your answers it appears to be fairly subjective.

9 Answers
9

Leave a Comment