Get all HTML tags with Beautiful Soup : <p>I am trying to get a list of all html tags from beautiful soup.</p>

<p>I see find all but I have to know the name of the tag before I search.</p>

<p>If there is text like </p>

<pre><code>html = """&lt;div&gt;something&lt;/div&gt;
&lt;div&gt;something else&lt;/div&gt;
&lt;div class='magical'&gt;hi there&lt;/div&gt;
&lt;p&gt;ok&lt;/p&gt;"""
</code></pre>

<p>How would I get a list like </p>

<pre><code>list_of_tags = ["&lt;div&gt;", "&lt;div&gt;", "&lt;div class='magical'&gt;", "&lt;p&gt;"]
</code></pre>

<p>I know how to do this with regex, but am trying to learn BS4</p>
