Skip to Content
HTML & CSS: The Good Parts
book

HTML & CSS: The Good Parts

by Ben Henick
February 2010
Intermediate to advanced
352 pages
11h 4m
English
O'Reilly Media, Inc.
Content preview from HTML & CSS: The Good Parts

Chapter 5. Effective Style and Structure

One can read markup like music and gain an appreciation for a document as a complete product—but when the presentation is completely removed into its own dedicated scope, the only way to make sense of the result is to ride two trains of thought in parallel. For most people, that kind of perfectly balanced multitasking takes practice.

However, there are tools and habits that make it easier. Among the tools are the developer interfaces provided with every major browser, all designed to display related markup and stylesheet rules in context.

Habits are a different matter. Remember that the Web is a multidimensional space: if you see markup or CSS and your thought process is still constrained to only two (or even three) dimensions, you’re not seeing the whole picture.

Note

Most of this section deals with presentation-layer development practice on a theoretical level. If you want to skip to the “climax” of this material, you should read Taxonomy and Nomenclature.

The Four Habits of Effective Stylists

The Web has no beginning and no end. Individual pages might be bounded, but even those usually contain links to other sources of information, and visitors could have arrived from any context. Even when a document ends, the user experience doesn’t.

Working in this unbounded environment requires a tight focus on information in preference to any notion of the finished site. Everything else takes lower priority: designers’ hangups, branding guidelines, even ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

HTML & CSS: Design and Build Websites

HTML & CSS: Design and Build Websites

Jon Duckett
Head First HTML and CSS, 2nd Edition

Head First HTML and CSS, 2nd Edition

Elisabeth Robson, Eric Freeman

Publisher Resources

ISBN: 9781449381943Errata Page