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

Nayah W
PLUS
Nayah W
Courses Plus Student 1,257 Points

Can anyone spot what I've done wrong?

<!DOCTYE html>
<html>
   <head>
     <meta charset="utf-8">
     <title>FBD | blog</title>
   </head>
   <body>
   <header>
      <h1>FBD</h1>
   </header>
   <section>
      <Blog 1 goes here>
   </section>
   <footer>
      <p>&copy; 2014 FBD</p>
   </footer>
   </body>
<html>
<!DOCTYE html>     /*Needs to be !DOCTYPE*/
<html>
   <head>
     <meta charset="utf-8">
     <title>FBD | blog</title>
   </head>
   <body>
   <header>
      <h1>FBD</h1>
   </header>
   <section>    /*<section class="blog1>"*/
      <Blog 1 goes here>    /*Blog 1 goes here is not tag*/
   </section>
   <footer>
      <p>&copy; 2014 FBD</p>
   </footer>
   </body>
<html>   /*close your html tag </html>*/

3 Answers

Stone Preston
Stone Preston
42,016 Points

looks like you didnt close your html tag

<!DOCTYPE html>
<html>
   <head>
     <meta charset="utf-8">
     <title>FBD | blog</title>
   </head>
   <body>
   <header>
      <h1>FBD</h1>
   </header>
   <section>
      <Blog 1 goes here>
   </section>
   <footer>
      <p>&copy; 2014 FBD</p>
   </footer>
   </body>
<html>

should be

<!DOCTYPE html>
<html>
   <head>
     <meta charset="utf-8">
     <title>FBD | blog</title>
   </head>
   <body>
   <header>
      <h1>FBD</h1>
   </header>
   <section>
      <Blog 1 goes here>
   </section>
   <footer>
      <p>&copy; 2014 FBD</p>
   </footer>
   </body>
</html>

Uh, what are you trying to accomplish here exactly?

Also, your copyright symbol should be made into the text with the Ā© html entity. Learn more about it here: http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references

Edit: your code just showed up after I posted this. Stone preston has the correct answer.

Nayah W
PLUS
Nayah W
Courses Plus Student 1,257 Points

Thanks I realized those errors after I wrote it but there was something wrong with header tag when I was writing it:S

Stone Preston
Stone Preston
42,016 Points

you also misspelled DOCTYPE and <Blog 1 goes here> is not a valid tag.

Indeed