full HTML document parsing