make Attr class private
simplify html.element API