Code example for Element

Methods: getAttribute, getParentNode