Contenu du cours
Web Scraping with Python
Web Scraping with Python
1. HTML Files and DevTools
2. Beautiful Soup
HTML 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.
python
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:
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 3