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 trialnaga Shanmukha
Courses Plus Student 12,482 PointsCreate another table row with a cell that spans two columns.
Create another table row with a cell that spans two columns.
<!DOCTYPE html>
<html>
<head>
<title>HTML Tables Challenge</title>
</head>
<body>
<h1>HTML Tables Challenge</h1>
<!-- Write your code below -->
<table border="5" cellpadding="5" cellspacing="5">
<thead>
<tr>
<th>These are<br>my favorite FRUITS</th>
<th valign="middle">VEGETABLES</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="2" align="center">RowSpan2!</td>
</tr>
</tfoot>
<tr>
<td>Oranges</td>
<td>Carrots</td>
</tr>
<tr>
<td>Apples</td>
<td>Brocolli</td>
</tr>
<tr>
<td>Strawberries</td>
<td>Asparagus</td>
</tr>
<tr>
<td></td>
<td>Potatoes</td>
</tr>
</table>
</body>
</html
3 Answers
Christopher van Ruitenbeek
13,705 PointsYour last html tag is broken: </html
naga Shanmukha
Courses Plus Student 12,482 Pointshi christopher i completed my task before 1 hour.thanks for your help bro
Ary de Oliveira
28,298 Points<!DOCTYPE html> <html> <head> <title>HTML Tables Challenge</title> </head> <body> <table border="10" cellpadding="10" cellspacing="10"> <thead> <tr> <th> These Are<br> my favorite Fruits</th> <th>Vegetables</th> </tr> </thead> <tfoot> <tr> <td colspan="2" align="center"> Thanks for reading</td>
</tr>
</tfoot>
<tr>
<td>Oranges</td>
<td>Oranges</td>
</tr>
<tr>
<td>Apples</td>
<td>Oranges</td>
</tr>
<tr>
<td>Strawberries</td>
<td>Oranges</td>
</tr>
<tr> <td colspan="2" align="center">Arybrown@treehouse.com</td> </tr>
</table> <h1>HTML Tables Challenge</h1>
<tr>
<th>
<h3>TEST</h3>
</th>
<!-- Write your code below -->
</body> </html>