<html>
  <body>
    <table>
      <thead>
        <tr>
          <th colspan= "2">States and Capitals</th>
        </tr>
      </thead>
      <tbody>
        <tr class ="red">
          <td>New York</td>
          <td>Albany</td>
        </tr>
        <tr class = "red">
          <td>New Jersey</td>
          <td>Trenton</td>
        </tr>
        <tr class = "red">
          <td>California</td>
          <td>Sacramento</td>
        </tr>
        <tr class = "red">
          <td>Wisconsin</td>
          <td>Madison</td>
        </tr>
        <tr class = "red">
          <td>Nevada</td>
          <td>Carson City</td>
        </tr>
        <tr>
          <td>Idaho</td>
          <td>Boise</td>
        </tr>
        <tr>
          <td>Florida</td>
          <td>Tallahasse</td>
        </tr>
        <tr>
          <td>Oregon</td>
          <td>Salem</td>
        </tr>
      </tbody>
    </table>
          
table,
td  {border: 1.5px solid #333;}
thead,
tfoot {background-color: #333; 
  color:#fff}
.red {color: red}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.