Answers for "th in table html"

3

html th td

<table>
  <tr>
    <th>Name</th>
    <th>Age</th>
  </tr>
  <tr>
    <td>John</td>
    <td>19</td>
  </tr>
  <tr>
    <td>Chris</td>
    <td>25</td>
  </tr>
</table>
Posted by: Guest on July-17-2021
8

html th

<table>
    <thead>
        <tr>
            <th>Name</th>
            <th>First Name</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Doe</td>
            <td>John</td>
        </tr>
        <tr>
            <td>Doe</td>
            <td>Jane</td>
        </tr>
    </tbody>
</table>
Posted by: Guest on September-05-2021

Browse Popular Code Answers by Language