course content

Course Content

Web Scraping with Python

Accessing an ElementAccessing an Element

Now you know that HTML elements have different tags and may have classes and ids. How can you get to know what is the tag/class/id of specific web page element?

Since you are familiar with the DevTools, you can jump to a specific position with the necessary element in HTML. For instance, in the Chrome browser, you need to left-click on the top left button of DevTools, and then point a cursor to a position on a web page you are interested in.

When hovering over an element, you will see a brief overview. If you left-click on an element, the respective part in the HTML document will be revealed.

Task

Head to the following page.

question-icon

Using the DevTools, name the class of all the images on the page.

Select the correct answer

Section 1.

Chapter 7