This is a good overview on HTML Dom.