When you get further into webdev, I can never recommend this site enough. It's one of the the best online reference out there:
http://www.w3schools.com/The MSDN Dom reference is very deep as well, but it's pretty dark... wait a bit till you get in there

(It's also only valid for IE... and some stuff won't work for Firefox, which most of pple here use now)