iterate all attributes of an element

See console