Here are a couple of general web design references:
Cederholm, Dan. Bulletproof Web Design: Improving Flexibility and Protecting Against Worst-Case Scenarios with XHTML and CSS. Berkeley, CA: New Riders Press, 2005.
Zeldman, Jeffrey. Designing with Web Standards. Corte Madera, CA: Waite Group Press, 2003.
The following books are basic HTML/XHTML and CSS references:
Meyer, Eric A. Cascading Style Sheets: The Definitive Guide. 2nd ed. Newton, MA: O’Reilly Media, Inc., 2004.
Musciano, Chuck, and Bill Kennedy. HTML & XHTML: The Definitive Guide. 5th ed. Newton, MA: O’Reilly Media, Inc., 2002.
Powell, Thomas, HTML & XHTML: The Complete Reference. Berkeley, CA: McGraw-Hill/ Osborne Media, 2003.
Some books on web programming are
Goodman, Danny, JavaScript & DHTML Cookbook. Newton, MA: O’Reilly Media, Inc., 2003.
Hamilton, Jacqueline D. CGI Programming 101: Programming Perl for the World Wide Web. 2nd ed. Houston, TX: CGI101.com, 2004.
Marini, Joe. Document Object Model: Processing Structured Documents. Berkeley, CA: McGraw-Hill/Osborne Media, 2002.
Stein, Lincoln. Official Guide to Programming with CGI.pm. New York: John Wiley and Sons, 1998.
Tatroe, Kevin, Rasmus Lerdorf, and Peter MacIntyre. Programming PHP. 2nd ed. Newton, MA: O’Reilly Media, Inc., 2006.
A more in-depth treatment of the LAMP platform and techniques can be found in the following:
Rosebrock, Eric, and Eric Filson. Setting Up LAMP: Getting Linux, Apache, MySQL, and PHP Working Together. Berkeley, CA: Sybex, 2004.
You can also find a well-maintained source of current information about LAMP on the web at http://www.onlamp.com/.