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

How do I add a title tag to this page

I do not know how to add a title tag to this page and the course will not let me move on until I do.

index.html
<html>
<head>
    <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>

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey Colleen,

Title tags go in the <head> section of an HTML Document MDN Docs here. If you are very new to Computer Science, I do recommend completing the Digital Literacy Track. Many of the courses often assume a basic knowledge of HTML.

Below is the HTML needed to add a title tag. I hope it helps.

Keep Coding! :)

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

:dizzy:

Thanks, Jason! I think I will take your advice about the Digital Literacy.