Skip to main content
HTML Validation

A table row was X columns wide, which is less than the column count established by the first row (Y).

About This HTML Issue

A <table> contains a <tr> row that has less <td> columns than the column count established by the first row. Check the table to ensure all rows have the same number of columns.

For example, in the following table, the first <tr> row defines that it’s 2 columns wide, but the second <tr> row tries to use only 1 column:

<table>
<!-- This first row sets the table as 2 columns wide -->

  <tr>
    <td>First</td>
    <td>Second</td>
  </tr>

<!-- This second row has only 1 column -->

  <tr>
    <td>Wrong</td>
  </tr>
</table>

Last reviewed: October 27, 2022

Was this guide helpful?

Find issues like this automatically

Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.

Ready to validate your sites?
Start your free trial today.