When I wanted to learn the basics of the web I picked up a standard HTML book, a Javascript book and the XML blackbook.
When I wanted to learn Java I picked up the HeadFirst series of books (i.e. Head First Servlets & JSP).
When I moved from Java to .NET I picked up the APress books (WPF Pro, WCF, C#, ASP.Net 3.5, F#, etc). Mostly, they're written by Matthew MacDonald and are very easy to follow and use.
If you're purchasing them from a website like Amazon, the reviews there are generally spot on with what you'd get as far as reviews here.
Though, if you really wanna learn a language and it's code you should look into downloading the API library and looking at examples/source code. Nothing beats tinkering around with source code to see what changes effect what.