How to find all the tags in the page using BeautifulSoup?

0 votes
Can I find all the tags in the page? Anchor, division and all other tags. How can I do that?
Apr 2 in Python by Suri
33 views

1 answer to this question.

0 votes

Try this code:

for tag in soup.find_all(True):
    print(tag.name)
answered Apr 2 by Soumya

Related Questions In Python

0 votes
1 answer
–1 vote
2 answers

How to find the size of a string in Python?

following way to find length of string  x ...READ MORE

answered Mar 29 in Python by rajesh
• 1,210 points
73 views
0 votes
1 answer

How to parse html file to BeautifulSoup?

Hey. Refer to the following code: driver.get("link") html = ...READ MORE

answered Apr 2 in Python by Kirti
25 views
0 votes
1 answer