<head>
<style>
  table, th, td{
    border: 1px solid black;
  }
  tr:nth-child(even){
    background-color: blue;
  }
  
</style>
</head>
<body>
<table style="width:100%">
  <tr>
    <th>HỌ VÀ TÊN</th>
    <th>TUỔI</th>
    <th>LƯƠNG</th>
  </tr>
  <tr>
    <td>NGUYỄN VĂN A</td>
    <td>2002</td>
    <td>1000000</td>
  </tr>
  <tr>
    <td>NGUYỄN VĂN B</td>
    <td>1999</td>
    <td>2000000</td>
  </tr>
  <tr>
    <td>NGUYỄN VĂN C</td>
    <td>2002</td>
    <td>1000000</td>
  </tr>
  <tfoot>
    <tr>
    <th colspan="2">TỔNG LƯƠNG</th>
    <td>4000000</td>
    </tr>
  </tfoot>
</table>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.