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

what is a title element

what is an example of a title element and what are the tags that are used

index.html
<!DOCTYPE html>
<html> 
  <head>
   <meta charset="UTF-8"> 

  </head> 
  <body> 


  </body> 
</html>

2 Answers

Alexander Nortung
Alexander Nortung
6,930 Points

Hello the title element is what you will see in the top of your browser when looking at the website and what search engines will put as the site's name. The <title> should go inside of the head element. an example of how a title element could be would look like <title>Example's website</title> i hope this helped you

David Brophy
David Brophy
4,238 Points

Further to this and for example, this page's title is "what is a title element | Treehouse Community". You can see that in the tab for this page in your browser. If you view the source of this page (press Ctrl and U) then you can see this in the code on line 4 with the <title> tag being used.

<title>This is my AMAZING title!</title>

Hope this helps :)