HTML parser, pretty printer and datastructure supporting deep modifications to the tree. Has never heard of web standards.