HTML: The 16 Content Categories and Their Elements

Published on January 20, 2021 (↻ September 5, 2024), filed under (RSS feed for all categories).

Enjoying overviews like this one? Check out Rote Learning HTML & CSS, a free ebook to help memorize HTML elements and attributes, and CSS selectors and properties.

HTML puts elements into categories, so-called content categories. The specification describes these in the sections on kinds of content and element content categories.

This article serves as a boring, brief, but updated overview over the broad and overlapping categories of HTML, and which elements fall into them (without going into detail on elements with exceptions):

Contents

  1. Metadata Content
  2. Flow Content
  3. Sectioning Content
  4. Heading Content
  5. Phrasing Content
  6. Embedded Content
  7. Interactive Content
  8. Sectioning Roots
  9. Form-Associated Elements
  10. Listed Elements
  11. Submittable Elements
  12. Resettable Elements
  13. Autocapitalize-Inheriting Elements
  14. Labelable Elements
  15. Palpable Content
  16. Script-Supporting Elements

Metadata Content

Flow Content

Sectioning Content

Heading Content

Phrasing Content

Embedded Content

Interactive Content

There are also the following categories:

Sectioning Roots

Form-Associated Elements

Listed Elements

Submittable Elements

Resettable Elements

Autocapitalize-Inheriting Elements

Labelable Elements

Palpable Content

Per the HTML specification, “palpable content” is content that makes an element non-empty by providing either some descendant non-empty text, or something else users can hear, see, or otherwise interact with.

Script-Supporting Elements

❧ These categories are useful, for example to identify all available as well as the semantically appropriate elements. They can also inform sorting schemes, as with an order to sort CSS selectors by.

Was this useful or interesting? Share (toot) this post, and support my work by learning with my ebooks!

About Me

Jens Oliver Meiert, on November 9, 2024.

I’m Jens (long: Jens Oliver Meiert), and I’m a frontend engineering leader and tech author/publisher. I’ve worked as a technical lead for companies like Google and as an engineering manager for companies like Miro, I’m a contributor to several web standards, and I write and review books for O’Reilly and Frontend Dogma.

I love trying things, not only in web development (and engineering management), but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (Please be critical, interpret charitably, and give feedback.)