title: Create html table with increment number of column
body: <p>I have been success to make increment no on column. </p>
  
  <p>Here my code </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-css lang-css prettyprint-override"><code>table {
      counter-reset: rowNumber;
  }
  table tr {
      counter-increment: rowNumber;
  }
  table tr td:first-child::before {
      content: counter(rowNumber);
      min-width: 1em;
      margin-right: 0.5em;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table border="1"&gt;
      &lt;tr&gt;
          &lt;th&gt;No&lt;/th&gt; &lt;th&gt;Name&lt;/th&gt;    
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;/td&gt; &lt;td&gt;jhon&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;/td&gt; &lt;td&gt;lucy&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;/td&gt; &lt;td&gt;joe&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://i.stack.imgur.com/PNU11.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PNU11.png" alt="enter image description here"></a></p>
  
  <p>but i want to make table number like image on below</p>
  
  <p><a href="https://i.stack.imgur.com/n7ilz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n7ilz.png" alt="enter image description here"></a></p>