title: Why are my <br> tags ignored by CSS counters?
body: <p>In the code below, it looks like all the <code>&lt;br/&gt;</code> tags are getting ignored by CSS counters. What's the reason for this?</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  
  &lt;head&gt;
    &lt;style&gt;
      body {
        counter-reset: ele;
      }
      *::after {
        counter-increment: ele;
        content: "element count " counter(ele);
      }
    &lt;/style&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
    &lt;h1&gt; h1 &lt;/h1&gt;
    &lt;h2&gt; h2 &lt;/h2&gt;
    &lt;h2&gt; h2 &lt;/h2&gt;
    &lt;h2&gt; h2 &lt;/h2&gt;
  
    &lt;p&gt;&lt;b&gt; b &lt;/b&gt; p&lt;/p&gt;
  
    &lt;br/&gt;
    &lt;br/&gt;
    &lt;br/&gt;
    &lt;br/&gt;
    &lt;br/&gt;
    &lt;br/&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Also, what are elements <strong>7</strong> and <strong>8</strong> representing?</p>