CLOSE

Help Us Help You

This website and it's tutorials are only made possible with your support. Support money goes towards keeping our servers online and paying staff members.

Table Heading Tag

The <th> tag is used to define table heading columns.

<table>
    <tr>
        <th>Heading 1</th>
        <th>Heading 2</th>
    </tr>
    <tr>
        <td>Col 1</td>
        <td>Col 2</td>
    </tr>
</table>

Attributes

  • colspan - How many columns to span.
  • rowspan - How many rows to span.

Copyright 2016 Step By Step HTML. All Rights reserved.