It is the purpose of this book to provide a practical survey of both the principles and practice of web programming. In this book, the basic topics and practical applications of the World Wide Web, XHTML, CSS, DOM, JavaScript, PHP, and MySQL are explored. The subject draws on a variety of disciplines. It is impossible to appreciate the significance of some of the techniques discussed in this book without a basic understanding of XHTML and CSS. An attempt has been made to make the book self-contained. The book not only presents the basic results that are needed but provides the reader with an intuitive understanding of those results. Such background material is introduced as needed. This approach helps to motivate the material that is introduced, and the author considers this preferable to simply presenting all of the material in a piece at the beginning of the book. The book is intended for both academic and professional audiences.