Chapter 2. Structure and Semantics

Remember the parable about the man who built his house on sand? Or the pigs who made their houses out of straw and sticks? Losers. They lost because they didn’t put enough value on the importance of structure.

To make good sites you need good structure, and on the Web that starts with HTML. How you mark up your pages gives them a solid structure both now and in the future. Whatever the context, whether you’re building a heavily interactive web app, a hybrid mobile app, or a one-page brochure site, putting a sound structure in place is a top priority. A solid structure makes your pages more accessible and ...

Get The Modern Web 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.