Hierarchy specifiers Sibling specifiers child descendent Type (Construct type) parent ancestor top btm lhs rhs Basic attributes (Level 1) Attributes (Level 2) Application…