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

Niranjan Thakur Badahi
Niranjan Thakur Badahi
186 Points

Bummer! Make sure you define the HTML Doctype tag.

my code was wright but i am getting every time the same message i dont know why i am getting this kind of message .

index.html
<! DOCTYPE HTML>


<html>
  <head> 
    <meta charset="UTF-8">
    <title> Niranjan | Project</title>

  </head>

  <body> 

    <header> 
      <h2> Niranjan </h2>
      <h1> Niranjan Designer </h1>

    </header>

    <section> 
      <p> what is the name of water </p>

    </section>

    <footer> 
      <p> &copy; 2017 Niranjan </p> 
    </footer>


  </body>


</html>

1 Answer

Hi Niranjan

There is a space after the "!" when you are declaring the Doctype, and there should not be a space.

<!DOCTYPE HTML>