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

Inspecting 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)?

Select the correct answer

Everything was clear?

Section 1. Chapter 4
course content

Course Content

Web Scraping with Python

Inspecting 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)?

Select the correct answer

Everything was clear?

Section 1. Chapter 4
some-alt