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 Build a Simple Website Text Editors and HTML Images and Lists

sergio verdeza
PLUS
sergio verdeza
Courses Plus Student 10,765 Points

Title tags content without quotes?

I’m not sure if this is a tricky question but the whole point was to identify the title tags and add the content inside the title tags inside the head tags or child tag. I don’t understand why I got the question wrong just because I added the quotes?

3 Answers

Youssef S
Youssef S
4,467 Points
<title> Title goes here </title>

That's the correct approach, if you want to add quotes make sure you use the special characters code for it - & quot; Without the spacing.

It's good practice to avoid using "" or any other special character. Instead, translate it to its special characters code in the HTML markup. For more on special characters, Check this Link

Jeremy Frimond
Jeremy Frimond
14,470 Points

sergio verdeza the wording on the question can lead you astray. The question is asking you to insert the title Smells like bakin' cupcake company. They use quotations to denote the text they want you to enter into the title tag. The page grader does not want the quotes but rather just the content.

treehouse will typically put quotes around any content they want you to enter during code challenges.