Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Inspecting Pages | Getting Acquainted with HTML
Web Scraping with Python
course content

Contenido del Curso

Web Scraping with Python

Web Scraping with Python

1. Getting Acquainted with HTML
2. Beautiful Soup: Part I
3. Beautiful Soup: Part II

bookInspecting Pages

How do we interact with a website? Can we access its HTML structure? The answer is yes, and most browsers provide a feature that allows you to examine the structure of any webpage you're visiting. You can even make temporary changes to a page, but these alterations will only be visible to you. This suite of tools is commonly referred to as DevTools.

For instance, to access DevTools in the Chrome browser, simply right-click on any part of the page and select "Inspect" from the menu that appears. For example, open the Test page. Right-click anywhere on the page, and press the Inspect button. Now you can inspect the webpage structure and modify whatever you want.

Task

Head to the following page.

What is stored inside the second `<div>` element (which is a children of the `<body>` element)?

What is stored inside the second <div> element (which is a children of the <body> element)?

Selecciona la respuesta correcta

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 4
some-alt