Proofreader: Rachel Monaghan
Page Viewer: Oliver
Printing History: December 2005: First Edition.
September 2012: Second Edition.
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc. The Head First series designations, Head First HTML and CSS, and related trade dress are trademarks
of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademark
claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and the authors assume no
responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
In other words, if you use anything in Head First HTML and CSS to, say, run a nuclear power plant, you’re on your
own. We do, however, encourage you to visit the Head First Lounge.
No elements or properties were harmed in the making of this book.
Thanks to Clemens Orth for the use of his photo, “applestore.jpg”, which appears in Chapter 5.
ISBN: 978-0-596-15990-0
[TI]
To the W3C, for saving us from the browser wars and
for their brilliance in separating structure (HTML) from
presentation (CSS)…
And for making HTML and CSS complex enough that
people need a book to learn it.
Browser wars? You’ll
find out in Chapter 6.