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

Task 2 problem

Task 2, I type <html> as the document root. It rejects that, says "Make sure you define the HTML tag for the document root." What am I doing wrong?

index.html
<!DOCTYPE html>
<html>

1 Answer

Hey there! The problem is you haven't close the html tag, it is good to close everything you open.

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

Of course (blush). I'm just starting...figured that out as soon as I posted. Thanks for the quick response!

No problem, you are welcome :)