add attr support for html parse