O'Reilly logo

Beginning HTML5 and CSS3: The Web Evolved by Divya Manian, Oli Studholme, Richard Clark, Christopher Murphy

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

images

Chapter 3

New Structural Elements

As we saw in the exercises at the end of Chapter 1, it’s all about the semantics. The mistaken idea of choosing our markup solely for its presentation, as epitomized by <table>-based layouts and spacer.gifs, has been thoroughly shown the door by the “standardista” movement. Instead, our rallying cry is

“Use the most semantically appropriate element.”

Happily, most of the time the default browser presentation of each element closely maps to its semantic meaning. This gives us accessibility benefits, as semantic markup provides a foundation of meaning regardless of presentation. It also has the benefit of future-proofing ...

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