Meanwhile, elements with different depth level may not represent related content even if they share the same class name.
we concatenate the class name and depth level to form the key ID (which is the id variable defined at line 6 in Algorithm 2).