Hierarchy in the HTML
As you probably know, HTML tags are nested within other tags. They form an inheritance tree, where nested tags are "children" of other tags:
Here the inheritance goes from top to bottom. For example, the two p elements are children of the same parent div, head and body elements are descendants (second generation) of html.
In the future, it will be essential to understand the structure of the HTML file to write paths to the tags we want to extract; however, we will consider methods that can be used by searching tags or attributes.
Kiitos palautteestasi!
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Kysy minulta kysymyksiä tästä aiheesta
Tiivistä tämä luku
Näytä käytännön esimerkkejä
Mahtavaa!
Completion arvosana parantunut arvoon 4.76
Hierarchy in the HTML
Pyyhkäise näyttääksesi valikon
As you probably know, HTML tags are nested within other tags. They form an inheritance tree, where nested tags are "children" of other tags:
Here the inheritance goes from top to bottom. For example, the two p elements are children of the same parent div, head and body elements are descendants (second generation) of html.
In the future, it will be essential to understand the structure of the HTML file to write paths to the tags we want to extract; however, we will consider methods that can be used by searching tags or attributes.
Kiitos palautteestasi!