Check out http://w3schools.com, I use this all the time for reference. Most people who have been doing web development for sometime hate this resource but I find it very useful from time to time.