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

What does "don't forget a head tag" mean?

I'm getting this "Bummer!" response. I originally had just <head></head> and <body></body> but I got the "don't forget a head tag error. Now I tried to add the meta and title and I still get the error.

3 Answers

Sreng Hong
Sreng Hong
15,083 Points

Hi Susan!!! As this bummer said, I think you might write a wrong <head> tag or in a wrong place.

Make sure your html structure is like this:

<!DOCTYPE html>
<html>
<head>
  <!--you can add <meta> and <title> in here-->
</head>
<body>
  <!--you can add <header>, <section> and <footer> in here-->
</body>
</html>

Hope this help

Thanks All - I found my error...pretty simple - must be tired. I didn't close out the string.. ugh!