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 Treehouse Club: HTML Publish a Story HTML Structure

Lior karavani
Lior karavani
940 Points

Challenge Task 2 of 4

I've got a challenge : " Write in the opening and closing html tags. "

then i got " Bummer: You need to add an <html> tag below the DOCTYPE tag."

what i did wrong ? thank for the responders :)

index.html
<!DOCTYPE html> hello </!DOCTYPE html>
Sean Jones
Sean Jones
7,492 Points

Hey the html tags are written below the <!DOCTYPE html>. The answer would be: <!DOCTYPE html> <html> </html>

1 Answer

Hi Lior karavani you need to add html tags under the <!DOCTYPE html>

the solution of this challenge is:

<!DOCTYPE html>

<html>

</html>