1 / 3

How do you extract the content of the first <p> tag in an HTML document using the BeautifulSoup library?

first_p
=
soup.
('p')
text
=
first_p.text