Vidyalelo
Python · Q22

Web Scraping with Python

Programming · Python · question 22

Q22

What is the purpose of using CSS selectors in web scraping?

A.
To control browser rendering
B.
To style scraped data
C.
To locate elements in HTML documents
Answer
D.
To convert data to CSS format

Answer: Option C

Solution

Answer: Option C
Solution:
CSS selectors are used to locate elements in HTML documents for scraping.