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.

HTML Build a Simple Website Text Editors and HTML Images and Lists

sergio verdeza
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.