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

Objectives of This Book

This book is meant to translate into plain English the quirks of HTML, CSS, and the document tree that are hard to grasp without guidance or experience:

  • Choosing and using the ideal version of HTML for your project

  • Removing the obstacles between your current practice and consistently valid markup

  • Using HTML to implement for structure, rather than presentation, in ways that get the best out of CSS

  • Obscure-yet-useful HTML elements

  • Getting-plug-in-content-to-work-dammit

  • Using tables properly, and getting the most out of them

  • The method behind the madness of CSS selectors, particularly descendant selectors

  • CSS selector precedence

  • The CSS block layout context

  • CSS margin collapsing

  • Bugs and other oddities imposed by Internet Explorer 6

  • Wrangling form presentation

  • The history behind the bugginess of web browsers

  • What HTTP does when your back is turned (and why it’s important)

This book tries to cover what all presentation layer developers should know. It aims to describe the many relationships between layers of the web technology stack that are touched by designers and presentation layer developers, and also to present the strengths of HTML and CSS.

This book will also introduce the less experienced reader to a long list of CSS layout “tricks” essential to the demands of presentation, accessibility, and Search Engine Optimization (SEO). These include:

  • Centering content

  • Using enhanced Fahrner Image Replacement to implement bitmapped heading type

  • Creating well-aligned columns of equal ...

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