HTML Content Model Categories - Max Design

1 min read Original article ↗

Github Page

In HTML 4.01, there was a distinction between block-level and inline elements. In HTML 5, this distinction between block and inline has been replaced with a more complex set of content categories.

Each element in HTML falls into zero or more categories that group elements with similar characteristics.

Content model categories

Diagram showing content model categories overlapping Flow Heading Sectioning Metadata Interactive Phrasing Embedded

The following broad categories are used in this specification:

There are also two other less-relevant categories: