title: Get all the tags Inside HTML as a skeleton in Python
body: <p>I have HTML tags like this</p>
  <pre><code>&lt;div class=&quot;block-inner clearfix&quot;&gt;
  &lt;div class=&quot;content clearfix&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;/&quot;&gt;
  &lt;img alt=&quot;&quot; src=&quot;/sites/default/files/house-png-202.png&quot; style=&quot;width: 35px; float: left; height: 35px;&quot;/&gt;&lt;/a&gt;        
  &lt;a href=&quot;/news-list&quot;&gt;**News**&lt;/a&gt;       
  &lt;a href=&quot;/events&quot;&gt;**Events**&lt;/a&gt;               
  &lt;a href=&quot;/chitin&quot;&gt;*CHITIN*&lt;/a&gt;&lt;/h3&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>i need Output like this</p>
  <pre><code>&lt;div class=&quot;block-inner clearfix&quot;&gt;
  &lt;div class=&quot;content clearfix&quot;&gt;
  &lt;h3&gt;&lt;a href=&quot;/&quot;&gt;
  &lt;img alt=&quot;&quot; src=&quot;/sites/default/files/house-png-202.png&quot; style=&quot;width: 35px; float: left; height: 35px;&quot;/&gt;&lt;/a&gt;        
  &lt;a href=&quot;/news-list&quot;&gt;&lt;/a&gt;       
  &lt;a href=&quot;/events&quot;&gt;&lt;/a&gt;               
  &lt;a href=&quot;/chitin&quot;&gt;&lt;/a&gt;&lt;/h3&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>I need Only the HTML elements and the attributes inside the HTML tag , The content between the tags Not required. This is just an example.</p>
  <p>Actually, what I want to do is...Extract Body element from A website and convert it to a website skeleton with only the tags (without content)</p>
  <p>Is there is any way? Thanks</p>