You can use the online documentations of all above technologies. 1. HTML: w3schools, Mozilla Developer Network 2. CSS: Mozilla Developer Network.
There are plenty of books available about HTML5 and CSS3 The best intro books I've found on programming languages have been the missing manual series.