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 How to Make a Website HTML First Use HTML Elements

alex axel
alex axel
2,014 Points

hello iam stuck at challenge task 5 in how to make a website they tell me dont forget to add title to your page plz help

i already added the title <title>Nick pettit | Designer</title> but they tell me dont forget to add a title to your page plz help

index.html
<!Doctype html>
<html>
  <head>
   <meta charset='utf-8">
                  <title>Nick Pettit | Designer</title>
</head>
<body>
     <header>
                  <h1>Nick Pettit</h1>
                  </header>
                  </body>
  </html>

7 Answers

<!Doctype html> <html> <head> <meta charset="utf-8"> <!--Fixed quotation--> <title>Nick Pettit | Designer</title> </head> <body> <header> <h1>Nick Pettit</h1> </header> </body> </html>

Naftali Klein
Naftali Klein
15,180 Points

The problem is in the meta tag, there are 2 different quotation marks.

alex axel
alex axel
2,014 Points

thank you for sir

alex axel
alex axel
2,014 Points

thank you justin and carlos both of you are kind iam such stupid ... thank you

not stupid, just learning. Happy to help!

alex axel
alex axel
2,014 Points

your right can i add friends here? so i can ask them later cuz iam pretty sure i will keep asking later

Some people put their Facebook url and website into their profile on here. Myself being one of those people. Feel free to add me and ask questions anytime. If I can help I gladly will.

alex axel
alex axel
2,014 Points

can i ask aslo whats the difference between the header and head elemet?

alex axel
alex axel
2,014 Points

can i ask aslo whats the difference between the header and head elemet?

Naftali Klein
Naftali Klein
15,180 Points

The "head element" is where you define the page title, include css, javascript etc and isn't visible to the end user. The "header" is the visual header on the site that will usually contain the navigation, logo etc.

alex axel
alex axel
2,014 Points

justin i sent you a friend request on facebook bro plz accept it