Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Hierarchy in the HTML | HTML Files and DevTools
Web Scraping with Python (res)
course content

Kursinnhold

Web Scraping with Python (res)

Web Scraping with Python (res)

1. HTML Files and DevTools
2. Beautiful Soup
3. CSS Selectors/XPaths
4. Tables

book
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.

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 4

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

course content

Kursinnhold

Web Scraping with Python (res)

Web Scraping with Python (res)

1. HTML Files and DevTools
2. Beautiful Soup
3. CSS Selectors/XPaths
4. Tables

book
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.

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 1. Kapittel 4
Vi beklager at noe gikk galt. Hva skjedde?
some-alt