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

my images are not showing on my webpage

my images are not showing up on my webpage

<html>
  <head>
  <meta charset="utf-8">
    <title> sailing | open bic </title>
    <link href="style.css" rel="stylesheet">
  </head>
  <body>
  <header>
   <a href="index.html">
    <h1>Imogen Herbert</h1>
 <h2>sailing</h2>
  </a>
   <nav>
    <ul>
      <li><a href="index.html">About</a></li>
      <li><a href="about.html">learning</a></li>
     <li><a href="contact.html">types</a></li>
     <li><a href="http://herbert sailing.com/"<Herbert Sailing</a></li>
     </ul>
    </nav>
    </header>

    <section>
   <ul>
     <li>
    <li>5 simple steps to become a confident sailor</li>
      <a herf="img/1.jpg">
      <img src="img/1.jpg" alt=""
      <p>First remember safety get your life jacket.</p>



     <a herf="img/2..jpg">
      <img src="img/2..jpg" alt=""
      <p> Get your boat out on the water look were the wind is coming from never head into the breeze if the wind is coming from your right shoulder (starbord shoulder) you sail shoud have the sail pulled in.</p>

    <a herf="img/3.jpg">
      <img src="img/3.jpg" alt=""
      <p>Do not be scared if the boat tips over a little bit just let the sail out or sit out on the side and lean out.</p>


    <a herf="img/4.jpg">
      <img src="img/4.jpg" alt=""
      <p>When the boat capsizes (turns over) swim around to the center board and climb up on the center board and hold on to the edge of the boat.</p>

 </a> 
     </li>
      <a herf="img/5.jpg">
      <img src="img/5.jpg" alt=""
      <p>When your heading down wind you should have the sail out when your going up wind you have the sail in.</p>




<p>and there you go 5 simple steps to become a confident sailor 
                     have fun!!!!!!</p>
      <img src="treehouse sailing/sail10.jpg" alt="boat">
      <img src="treehouse sailing/bic.jpg" alt="boat">
      <img src="treehouse sailing/sail8.jpg" alt="boat">
 </a> 
     </li>

     </ul> 
      </section>
    <footer>
     <a href="http://twitter.com/YoBroSailing"
   <a href="http://facebook.com/herbertsailing"
     <img src="img/facebook.png" alt="">
      <img src="img/twitter.png" alt="">
      <img src="img/camera.png" alt="">


    <p>&copy; 2014 Imogen Herbert</p>
    </footer>
    </body>

  </html>

my main problem is my facebook logo will not show my image name is facebook.png i do not no what is wrong with my code i really need your help

Colin Marshall
Colin Marshall
32,861 Points

Hello Imogen,

I fixed your code for you so it displays properly. Please see the link in the right sidebar titled "Tips for asking questions" for instructions on how to post your code to the forum.

Thank you all

it's now working well

imogenherbert

4 Answers

You need to close a tag and img tags.

And your anchor elements have herf and that's not correct it should be href

Dominic Cyr
Dominic Cyr
1,765 Points

I guess that "Treehouse Sailing" directory may not be valid while it does not have an underscore. Directories in HTML should not have spaces. But closing tags has to be verified again.

Christine Rose
Christine Rose
6,745 Points

You're not closing so many of your tags! That's the first problem.

Make sure you have a: > at the end of each open <