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

How can i Create the HTML element that will serve as the document root ?

<!DOCTYPE html>

index.html
<!DOCTYPE html>

3 Answers

Ari Misha
Ari Misha
19,323 Points

Hiya Khaled! All you have to do is add "<html>" tag below your "<!DOCTYPE html>" and you are good to go.(and dont forget to close the "<html>" tag) (:

Thank you , keep doing great work with best treehouse team .

Ari Misha
Ari Misha
19,323 Points

Haha im not from Treehouse Team , im just a fellow learner like ya , who is passionate about coding. And i pop up here and there sometimes, and try to help others. In turn, it lets me improve my coding skills. (: