parse  html into dom tree