Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge 3: Text from HTML Elements | Beautiful Soup: Part II
course content

Course Content

Web Scraping with Python

Challenge 3: Text from HTML ElementsChallenge 3: Text from HTML Elements

Task

You are given a web page. Complete the following tasks:

  1. Print all the attributes of all the <a> elements.
  2. Print all the text of all the <p> elements.

Everything was clear?

Section 3. Chapter 4
toggle bottom row
course content

Course Content

Web Scraping with Python

Challenge 3: Text from HTML ElementsChallenge 3: Text from HTML Elements

Task

You are given a web page. Complete the following tasks:

  1. Print all the attributes of all the <a> elements.
  2. Print all the text of all the <p> elements.

Everything was clear?

Section 3. Chapter 4
toggle bottom row
some-alt