article and section and div

When to use each?

  1. Self-contained content with a heading? - use article
  2. Not self-contained content but without a heading? - use section
  3. Otherwise, use div

MDN on article, section and div elements