title: Unable to target different `h` tags using css selector without knowing their variation
body: <p>When there are classes like <code>listing__name_123</code> or <code>listing__name_789</code>, I can select both of them using <code>soup.slect_one(&quot;[class^='listing__name_']&quot;)</code>.</p>
  <p>However, when there are tags like <code>h1</code>,<code>h5</code>, <code>h7</code>, <code>h13</code>, I don't find any way to select them the same way I selected different classes. I know I can use <code>soup.slect_one(&quot;h1,h5,h7,h13&quot;)</code> to target them but the problem is I may not be aware of the variety of <code>h</code> tags in advance.</p>
  <p>Example tags:</p>
  <pre><code>&lt;h1&gt;A Complexity Profile&lt;/h1&gt;
  &lt;h5&gt;INDIVIDUAL AND COLLECTIVE BEHAVIOR&lt;/h5&gt;
  &lt;h7&gt;MESSY PROFILE&lt;/h7&gt;
  &lt;h13&gt;Conclusion&lt;/h13&gt;
  </code></pre>
  <p>Current attempt:</p>
  <pre><code>from bs4 import BeautifulSoup
  
  soup = BeautifulSoup(html,&quot;lxml&quot;) #html contains the desired h tags
  soup.select_one(&quot;h1,h5,h7,h13&quot;)
  </code></pre>
  <blockquote>
  <p>How can I target all the <code>h</code> tags using css selector without knowing their variation?</p>
  </blockquote>