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 How to Make a Website HTML First Use HTML Elements

stephanie sutedja
stephanie sutedja
3,693 Points

Is there an error on challenge task 2 HTML First Stage 2? I can't get pass create a root html tag.

<!DOCTYPE html> <html><\html>

This answer creates an error for me.

index.html
<html><\html>

4 Answers

You have a typo in your closing tag. It's the wrong slash.

Hey Steph, you have to put the normal slash for closing "/". Cheers

Isaac Asante
Isaac Asante
4,752 Points

Hey Stephanie, at Stage 2 of this Challenge, your code should be like this:

<!DOCTYPE html>
<html>
</html>

As you see in my code, I'm using a forward slash in the closing html tag, not a backward slash. So using the backward slash is your mistake.