title: How to use class attribute in html col
body: <p>This is my code:</p>
  
  <pre><code>&lt;html&gt;
  &lt;style&gt;
  .left-info
  {
      font-size:14px;
      font-family:Tahoma, Helvetica, sans-serif;
      color:#1A5B71;
      font-weight:bold;
      text-align:right;
  }
  .right-info
  {
      font-size:14px;
      font-family:Tahoma, Helvetica, sans-serif;
      color:#FFFFFF;
      font-weight:bold;
      text-align:left;
  }
  &lt;/style&gt;
  &lt;body&gt;
  
  &lt;table border="1"&gt;
    &lt;colgroup&gt;
      &lt;col class="left-info" /&gt;
      &lt;col  class="right-info" /&gt;
    &lt;/colgroup&gt;
    &lt;tr&gt;
      &lt;td&gt;3476896&lt;/td&gt;
      &lt;td&gt;My first HTML&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;5869207&lt;/td&gt;
      &lt;td&gt;My first CSS&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But, it is showing simple table. Need help !!</p>