Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Business SEO Basics Better SEO Through Code Title Tag and Meta Description

title tag not getting it!

<title>Star Wars Merchandise</title> this is what I entered.

5 Answers

post your code.

Jacob Miller
Jacob Miller
12,466 Points

You need to add the <title> tag in the <head> section.

I thought I did that. Take a look: <html> <head> <title>"Star Wars Merchandise"</title> <meta charset="utf-8"> </head> <body> <p>Star Wars Merchandise</p> <p>Boba Fett Shirts</p> <p>Available in white; sizes S-M-L-XL</p> <p>Darth Maul Hat</p> <p>Available in black or white at <a href="http://hats.com">Hats.com</a></p> </body> </html>

Thanks

Here's the code:

<html> <head> <title>"Star Wars Merchandise"</title> <meta charset="utf-8"> </head> <body> <p>Star Wars Merchandise</p> <p>Boba Fett Shirts</p> <p>Available in white; sizes S-M-L-XL</p> <p>Darth Maul Hat</p> <p>Available in black or white at <a href="http://hats.com">Hats.com</a></p> </body> </html>

Jacob Miller
Jacob Miller
12,466 Points

Your code is not showing up right, so I'm not sure, but did you include the quotes in your title? Example: <title>"Star Wars Merchandise"</title> If you did, remove those and see if it works.

Thanks! I think I figured it out.