A couple of years back I set out on a search to find an all encompassing book that would direct me in ways of hacking. I found a few, but I won't mention them. They were shit. I don't want to give out bad sources.
Since hacking comes in many flavors you want to look into books that cover specifics. Say for instance you mentioned html. There are lots of good books out there covering that, and online tutorials and PDFs. When you get into the hacking side of the digital realm you want to search out books geared for administrators, network security, and forensics. They don't scream "hacking" because they are designed to be defensive learning tools for the reader. They discuss vulnerabilities and how to prevent them. In so doing, the reader just learned a hacking technique. Sometimes you can find texts that are specifically written to teach you how to hack, but good ones are a bit harder to come by.
Hard copies are easier to get in the long run, and you have a better chance of finding the latest editions that haven't been converted to PDFs yet. Just be ready to spend some money.
Now, if want some assistance finding a good read for something specific we'll be more than happy to aid you.