Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML HTML Tables HTML Tables

Michael Rüegger
Michael Rüegger
3,781 Points

Table heading what's wronge?

I get everytime a Bummer by this challenge. What's wronge?

Table Challenge task 2 Add a table heading tag to the table you just created.

<table>
      <tr>
        <th>Header</th>
      </tr>  
 </table>
Cassio Victor Cadore
Cassio Victor Cadore
6,579 Points

Michael, please post your anwser code!

Stone Preston
Stone Preston
42,016 Points

see the animation below for an explanation of how to post code to the forum

code

4 Answers

Stone Preston
Stone Preston
42,016 Points

you need to use the thead tag, not th

<table>
  <thead></thead>
 </table>

Stone Preston is right. Remember that there are many instances when tables are used and there is no defined header.