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 Creating HTML Content Organize with Unordered Lists

Nelson Cole
Nelson Cole
1,423 Points

I dont see what is wrong with this code <img src= "img/numbers-01.jpg">

<img src= "img/numbers-01.jpg">

What tag am I missing?

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Nick Pettit</title>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Nick Pettit</h1>
        <h2>Designer</h2>
      </a>
      <nav>
        <ul>
          <li><a href="index.html">Portfolio</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="contact.html">Contact</a></li>
        </ul>
      </nav>
    </header>
   <img src= "img/numbers-01.jpg">
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>

6 Answers

The img is not in a folder so it should look like this:

 <img src= "numbers-01.jpg">
Jesus Mendoza
Jesus Mendoza
23,289 Points

Are you doing the challenge or are you playing around with the code?

Nikhil Rai
Nikhil Rai
15,391 Points

shouldn't it be in <section>:

<section>
  <img src="img/numbers-01.jpg">
</section>

I think there must be a container to hold the image.

make sure about the path based on where you saved it.

Perhaps there is something I'm missing but you seem to have a space between the "=" and the first quotation mark.

<img src= "img/numbers-01.jpg">

<img src=*DELETE SPACE HERE*"img/numbers-01.jpg">

Hopefully that helps!

Nelson Cole
Nelson Cole
1,423 Points

Shaun

That was it.

Thanks! Nelson

No problem, glad I could help!