parsing simple html doctype