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

Bryan Sory
Bryan Sory
1,978 Points

Pls what's wrong with this head code?

something's amiss here :)

index.html
<!DOCTYPE html>
<html>
  <h1></h1>
  <p1></p1>
</html>

what did it tell you to do

Bryan Sory
Bryan Sory
1,978 Points

Thanks Kameron. I found it. I think it's looking for something really specific.

Bryan Sory
Bryan Sory
1,978 Points

Thanks Kameron. I found it. I think it's looking for something really specific.

2 Answers

Hi,

If you were on task 3 then it was asking you to add the Head & Body elements:

<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
  </body>
</html>
jason chan
jason chan
31,009 Points

Your going to have to memorize it.

<!DOCTYPE html>
<html>
   <head>
        // The head of the html is where you store all your css and meta data
   </head>
    <body>
           // The body is where you store the images, tables, forms, videos and etc. 
    </body>
</html>