make sure tag names are valid.
Basic attributes.
Add get_attribute, as well as item assignment.
Cast attribute values to strings.
Add delete_attribute.
Special case for id and name attributes.
A special case for CSS classes.