Skip to content

Instantly share code, notes, and snippets.

@ThomasRettig
Created March 23, 2022 02:25
Show Gist options
  • Save ThomasRettig/d2d5b7a681ef195593be3656cc0b7d5c to your computer and use it in GitHub Desktop.
Save ThomasRettig/d2d5b7a681ef195593be3656cc0b7d5c to your computer and use it in GitHub Desktop.

The 19 Combinations of Writing HTML

The 6 general ways of writing HTML now lead to the following 19 combinations of writing HTML. It’s a list of ways that are compatible with each other.

The list doesn’t include random combinations—for example, when a unsystematically written document happens to be valid.

Unsystematic

  • Valid
  • Valid, semantic
  • Valid, semantic, accessible
  • Valid, semantic, accessible, required-only -Valid, accessible
  • Valid, accessible, required-only
  • Valid, required-only
  • Semantic
  • Semantic, accessible
  • Semantic, accessible, required-only
  • Semantic, accessible, required-only, hyper-optimized
  • Semantic, required-only
  • Semantic, required-only, hyper-optimized
  • Accessible
  • Accessible, required-only
  • Accessible, required-only, hyper-optimized
  • Required-only
  • Required-only, hyper-optimized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment