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

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

Title tag adding

Hello,

I'm trying to add title tag to the first task in SEO basic course. I have an experience in content marketing, but my html or on/off SEO technical experience is very poor. Please, can you check where I'm making mistake?

Thanks!

index.html
<html>
<head>
    <meta charset="utf-8">
  </head>Star Wars Merchandise</title>
<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>

2 Answers

Steven Ang
Steven Ang
41,751 Points

You need to put the title tag in the head, not outside and properly close them.

<head>
  <title>Star Wars Merchandise</title>
    <meta charset="utf-8">
</head>

I realize in mean time what was the mistake.

Anyway, thanks a lot for helping me!