Code example for Element

Methods: getAttributes, hasAttributes