HTML Content Model Categories - GitHub Pages

HTML Content Model Categories

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:

  • Metadata content
  • Flow content
  • Sectioning content
  • Heading content
  • Phrasing content
  • Embedded content
  • Interactive content

There are also two other less-relevant categories:

  • Palpable content
  • Script-supported content

Từ khóa » Html Flowing Content