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

Tomas Mraz
PLUS
Tomas Mraz
Courses Plus Student 7,630 Points

where is the problem?

<table> <thead> <tr> <td>head1</td> <td>head2</td> </tr>
</thead>

</table>

i shoud put 2 header cells in the row... where is problem?

2 Answers

Emmanuel Plouvier
Emmanuel Plouvier
11,919 Points

Hi,

A header cell are a th tag instead of a td for something like that :

 <thead>
    <tr>
      <th>head1</th>
      <th>head2</th>
    </tr>  
 </thead>