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

hugh lancaster
hugh lancaster
3,078 Points

can't get tbody to work

what am I doing wrong. <!DOCTYPE html> <html> <head> <title>HTML Tables Challenge</title> </head> <body> <h1>HTML Tables Challenge</h1>

<!-- Write your code below -->
<table>
  <thead>


    <tr>

      <td>
        </td>

      <th>test</th>
      <th>test1</th>

    </tr>



  </thead>
</table>

</body> </html>

2 Answers

Calvin Nix
Calvin Nix
43,828 Points

Hello Hugh,

All you need to do is add <tbody> to your table. This will go below your <thead>.

I'll give you a hint. It is very similar to the structure of an HTML page.

<html>
<head>
header stuff here
</head>
<body>

body stuff here

</body>
</html>
hugh lancaster
hugh lancaster
3,078 Points

I had already figured it out. Thanks for the reply!!