Beginning HTML with CSS and XHTML

Modern Guide and Reference

by David Schultz and Craig Cook

With a foreword by Simon Collison

Technical review by Gez Lemon

The Case Study Site

The book’s 11th chapter, “Putting It All Together,” presents a case study outlining the process of designing and constructing a website for a fictional pizzeria, which we dubbed Spaghetti & Cruft. You can see the completed site here, and you can download all the code and images to see for yourself how it was done.

The Spaghetti and Cruft website

If you’re wondering about the name, we’ve got our tongues planted firmly in cheek on this one. In the past, many web designers produced overcomplicated markup loaded with messy, presentational tags and attributes (and far too many designers still do it that way). This is called spaghetti code because the markup is an unwieldy tangle, extremely difficult to sort out and maintain. The word cruft is programmer jargon for any excess, outdated code that is no longer necessary, if it was ever needed to begin with.

So, spaghetti and cruft are two things we spend the entire book advising you strongly against — markup sins you’ll never commit because you’ve read this book and learned to do it the right way. Go ahead and smirk knowingly at our cleverness.

Order from Amazon

Apress