Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer HTML File Structure | HTML Files and DevTools
Web Scraping with Python (res)

bookHTML File Structure

In the previous chapter we got the HTML document of the page. Today we will learn how to navigate it for easier retrieving of data.

<html>
    <head>
        <title>Hello!</title>
    </head>

    <body>
        <div>
            <h1>Hello everyone!</h1>
            <p>Enjoy programming!</p>
            <p>Enjoy codefinity!</p>
        </div>
    </body>
</html>

The page is rendered:

The expressions within the angle brackets are called tags. They usually come in pairs, and the tag with / comes in the second place (e.g., </title>). Here the html tags define the HTML document's start and end. head and body tags are the head and body of the HTML, respectively. We also have div tags defining a section of the body, and p tags mean paragraphs within the body. h1 defines the headings.

<head> tag just a regular tag that browsers decide not to display.

1. Choose the correct statements:

2. Close HTML tags:

question mark

Choose the correct statements:

Select the correct answer

question-icon

Close HTML tags:

<html>
    <head>
        <title>Enjoy HTML!</title>
    </head>
    <body>
        <div>
            

                <p>Enjoy Web-Scraping!</p>
            </div>
            <p>Enjoy codefinity!

        

    </body>
</html>

Click or drag`n`drop items and fill in the blanks

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 3

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

Suggested prompts:

Stel mij vragen over dit onderwerp

Vat dit hoofdstuk samen

Toon voorbeelden uit de praktijk

Awesome!

Completion rate improved to 4.76

bookHTML File Structure

Veeg om het menu te tonen

In the previous chapter we got the HTML document of the page. Today we will learn how to navigate it for easier retrieving of data.

<html>
    <head>
        <title>Hello!</title>
    </head>

    <body>
        <div>
            <h1>Hello everyone!</h1>
            <p>Enjoy programming!</p>
            <p>Enjoy codefinity!</p>
        </div>
    </body>
</html>

The page is rendered:

The expressions within the angle brackets are called tags. They usually come in pairs, and the tag with / comes in the second place (e.g., </title>). Here the html tags define the HTML document's start and end. head and body tags are the head and body of the HTML, respectively. We also have div tags defining a section of the body, and p tags mean paragraphs within the body. h1 defines the headings.

<head> tag just a regular tag that browsers decide not to display.

1. Choose the correct statements:

2. Close HTML tags:

question mark

Choose the correct statements:

Select the correct answer

question-icon

Close HTML tags:

<html>
    <head>
        <title>Enjoy HTML!</title>
    </head>
    <body>
        <div>
            

                <p>Enjoy Web-Scraping!</p>
            </div>
            <p>Enjoy codefinity!

        

    </body>
</html>

Click or drag`n`drop items and fill in the blanks

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 3
some-alt