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

Question about title.

Here is my code:

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <tytle>EnzoAirlines | Designer</tytle> </head> <body> <header> <h1>EnzoAirlines</h1> <h2>Designer</h2> </header> <section> <p>Gallery will be here.</p> </section> <footer> <p>Ā© 2014 EnzoAirlines.</p> </footer> </body> </html>

Title EnzoAirlines | Designer not supposed to be visible on the web page but in my case it is on the top in the right corner over my header? Where is the problem? Thank you!

3 Answers

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,254 Points

You've also not spelled your title element correctly.

The correct syntax for the Title element is

<title>Title goes here </title>

Good luck. :-)

What you are using is a h1 tag. h1 tags display on the page. To fix this you need to use a title tag. The title tag will display on the tab of the browser not the actual page itself.

<header>
  <title> EnzoAirlines | Designer </title>
</header>

Your <header> section is where you should put your page header (which I believe is where you want "EnzoAirlines | Designer" to be) and also any links to external pages/scripts and other information. Anything not within the <header> section will be visible on your page.