<table>
  <caption>ブログの記事用の表です</caption>
  <tr>
    <th>見出しA</th>
    <th>見出しB</th>
  </tr>
  <tr>
    <td>見出しAの1行目</td>
    <td>見出しBの1行目</td>
  </tr>
  <tr>
    <td>見出しAの2行目</td>
    <td>見出しBの2行目</td>
  </tr>
  <tr>
    <td>見出しAの3行目</td>
    <td>見出しBの3行目</td>
  </tr>
</table>
table{
  border-collapse: collapse;
  border: 1px solid #000;
}
th{
  background-color: gray;
}
th,td{
  border: 1px solid #000;
  padding: 5px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.