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 Build Structure

The preview window is giving me error for Index/. what am I doing wrong.

<!DOCTYPE html> <html> <head> <meta Charset "Utf-8"> <title>Kiran Siddiqi | Designer</title> </head> <body> <h1>Kiran Siddiqi</h1> </body> </html>

8 Answers

The meta tag should be like this:

<meta charset="utf-8">

Will this work?

For the meta charset attribute, you need to put a = in like the following.

meta charset="Utf-8"

Hope this helps.

Thanks for the Answer i fixed it but I am still getting the same error which says:

Index of /

../ Index.html 14-Dec-2014 14:53 320

Here is my code:

<!DOCTYPE html> <html> <head> <meta Charset="Utf-8"> <title>Kiran Siddiqi | Designer</title> </head> <body> <header> <h1>Kiran Siddiqi</h1> <h2>Designer</h2> </header> <section> <p>Gallery will go here</p> </section> <footer>© 2014</footer> </body> </html>

We need to add the <html> after <meta charset="utf-8">, and close it at the very end with </html>. I found the head element lacks a beginning tag: <head> Also the body element lacks a beginning tag: <body> in front of <header>

Can you put these three in and see what happens?

Before i didn't know how to post my code in forum. This is what i have since beginning.

<!DOCTYPE html>
<html>
  <head>
    <meta Charset="Utf-8">
    <title>Kiran Siddiqi | Designer</title>
    </head>
  <body>
    <header>
      <h1>Kiran Siddiqi</h1>
      <h2>Designer</h2>
    </header>
    <section>
      <p>Gallery will go here</p>
    </section>
    <footer>&copy; 2014</footer>
    </body>
</html>

I just found that the meta tag should be like this: <meta charset="utf-8">

Will this make it work?

I believe you forgot to add the example. Thanks for trying to help me.

Hey Zhuobin Zhang thanks for help. Treehouse support resolved this issue this evening its working fine now. :)

Great! Happy learning. :)