CGI Bible is a paperback with CD-ROM. It covers HTTP and HTML briefly, SGML and HTML DTDs (and validation), HTML 3.0, CGI (including the various languages which can be used, mentioning Tcl), then proceeds on to the topic of the design of CGI applications (using perl 4 - shudder).