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

Paul Je
Paul Je
4,435 Points

Not sure how to do this

I haven't taken HTML formally as of yet (done a teensy bit on Codeacademy) so this may be why I have no idea what to do here lol, could someone show me how for now? Will go through it piece by piece later !

index.html
<html>
<head>

  <title>Star Wars Merchandise</title>
    <meta charset="utf-8">
</head>
<body>
    <p>Star Wars Merchandise</p>
    <p>Boba Fett Shirts</p>
  <meta charset="Shirts and hats for fans of Star Wars">
    <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>

3 Answers

Kevin Korte
Kevin Korte
28,149 Points

Meta tags always go in the head, and you would use this format to create a meta description tag.

https://moz.com/learn/seo/meta-description

Jay Padzensky
Jay Padzensky
4,731 Points

It looks like you've already completed the first task, nice work!

The second task requires you to add a meta description. Remember your meta tags will be nested in your <head> element. Check out this link for some assistance in where to place the meta description and how to label it. Keep it up!

Paul Je
Paul Je
4,435 Points

Thanks guys!! Helped a lot