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

making a html doctype

Don't know what they want me to put down on the doctype html

2 Answers

Markus Ylisiurunen
Markus Ylisiurunen
15,034 Points

Here is the code it wants:

<!DOCTYPE html>
<html>
  <head>
     <title></title>
     <meta charset="utf-8">
  </head>
  <body>
    <header></header>
    <section></section>
    <footer></footer>
  </body>
</html>
Michael Alaev
Michael Alaev
5,415 Points
<!DOCTYPE html>
  <html>
  <!-- here you will add your html code -->
  </html>

be sure to uppercase the dock type to declare it as html 5.

hope that helps.