Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Table heading tag

I don't see that there is anything wrong with the code I have entered.


ERROR Bummer! Try adding a table heading tag inside of the table.

Just keep in mind that I have been building basic html pages for the last couple of months and this is how I normally do that. I believe that the system just doesn't register


Which it should. TH still defines it as a table header.

I got it working using the THEAD tag.

1 Answer

The table heading is the


tag where as


represents the table row heading, it should be included within


tags. Example of a general table markup would be,

      <th>heading column1</th>
      <th>heading column2</th>
      <td>content row1 column1</td>
      <td>content row2 column2</td>

Hope this helps !