Web Design Small Cover

Buy the PDF of
Web Design:
A Complete Introduction

See the book at amazon.co.uk or amazon.com

Related Site

Web Security Topics

Related Books

Secure Communication Cover

Securing A Server Cover

Overview of the Examples


We have included copies of the code (markup, stylesheets, scripts, as applicable) for all the significant examples in the book for you to download. In many cases, the main benefit will come to instructors who want to follow the book closely in their courses: we haven’t included any code examples in the lecture slides, but by downloading the examples, you can show as much as you wish in your lectures. Students will find the same code printed in the book.

In some cases, small code fragments illustrating a single technique have been included on the page. You can copy and paste them from your browser, subject to the same conditions are downloading the complete files (see below).

In some of the later chapters, though, where the examples are more elaborate, the code could be used more actively. Students could modify the examples, as suggested in some of the exercises, or use them as starting points for their own designs.

We have also included the original image files for some of the illustrations in the book, where it will be useful for students to see the actual image instead of a printed reproduction, or where the images might be useful as the basis for students' own work. The files for downloading are in PNG format, which you should be able to open in Photoshop, Fireworks or the Gimp.

We have tried to be careful in preparing these downloads, but it is possible that we have made mistakes. If you find that some expected files are not present in any of the downloaded Zip archives, please let us know and we will rectify the matter.

Working Pages

As well as the downloads, we have embedded links to working versions of some of the examples, so that you can see them in action without having to install them on your own machine. We encourage you to experiment with changing the font size and the width of your browser window when looking at these examples. By default, these links open in new windows, so that we can show the page on its own. If you do not have JavaScript enabled, the pages will open in the same window as the link and you will have to use the back button to return to the site proper. (However, we suggest that you make sure JavaScript is enabled, because without it some of the examples – notably those from Chapter 7 – won’t work.) We have tried to write the script that opens the new window in such a way that, if you use tabbed browsing and prefer to have the example pages open in a new tab, they will do so when you hold down your usual modifier key. (This doesn’t seem to entirely work in Opera, which handles the decision about whether to open a tab or window in its own way, but if you tell it to open tabs, not windows, it does so.)

Disclaimer and Your Agreement

While we have made reasonable efforts to ensure that all our examples work as described, we cannot guarantee that there will not be errors. By downloading any example from this site, or cutting and pasting a code fragment into a file on your computer, you are agreeing that neither the authors nor John Wiley & Sons, Ltd. can be held responsible for any undesirable consequence of installing the examples on a computer system or accessing them over the Internet.

Less formally, you should bear in mind that these examples were devised purely for expository and teaching purposes and are not intended to be of production quality or used on the Web outside of a teaching environment. We would not advise anyone to base a working site on our code without examining it closely.