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

Head tag?

I am having a bit of an issue with the coding challenge where I type in < head >< /head > when they requested the head part of the document to be entered but it then fails stating that you have failed to place the head tag in and I am not sure why.

Thanks for any help anyone can offer.

Kind Regards,

Ruby

3 Answers

Be sure you're placing the <head></head> tags inside the <html></html> tags, like so

<!DOCTYPE html>

<html>
  <head>

  </head>

  <body>

  </body>
</html>

Oh I see, thanks so much Bryan, I was placing the <head> </head> tags outside of the html tags.

Thanks so much for your help, it worked :)

Ethan Lowry
PLUS
Ethan Lowry
Courses Plus Student 7,323 Points

Hi Ruby - you'll need to show us the code you have entered that is giving the error in order for us to offer advice - I suggest editing your question to include the code. Once you do that we can take a look and find the problem :)

I actually did when I typed up the question but it must have not gone through :s

I will try again

Be sure you're using backticks, not commas, to surround your code. Commas will hide it :)