O'Reilly logo

The Truth About HTML5 by RJ Owen, Luke Stevens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required