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 trialAnthony Stapor
3,369 PointsHow do you put a table heading tag inside a table?
I also tried putting the <tr> tag before the <th> tag, doesn't work either.
Any help would be appreciated.
<!DOCTYPE html>
<html>
<head>
<title>HTML Tables Challenge</title>
</head>
<body>
<h1>HTML Tables Challenge</h1>
<!-- Write your code below -->
<table>
<th></th>
</table>
</body>
</html>
4 Answers
Jennifer Nordell
Treehouse TeacherNope, that's not what it's looking for. You have the th tag which is a header for a cell, not the entire table. It's looking for the thead tag. Take a look:
<table>
<thead></thead>
</table>
Stephen Shine
5,991 PointsI suggest that you might need to use a table row tag first, and then put your table header tag inside that.
Anthony Stapor
3,369 PointsAlready tried it, didn't work...
Anthony Stapor
3,369 PointsThank you it worked!
Jennifer Nordell
Treehouse TeacherYou're welcome! :)