CHAPTER 4

image

The Truth About HTML5’s Structural Elements

What have we done so far?

  • We’ve established the broad (and somewhat obscure) concept that HTML5’s structural elements are trying to improve—mostly outlining, which is currently done implicitly with heading tags.
  • We’ve established what an outline is for—to help screen readers, which rely heavily on document headings.
  • We’ve also touched on a better way to help blind users get around our pages with ARIA landmarks.

Let’s now look at what the HTML5 specs (both W3C and WHATWG) say about these new individual elements, starting with . . .

<header>

You need to know two things about <header>:

  • It ...

Get The Truth About HTML5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.