Question:

Can some one help me understand why my images won't show up?

by  |  earlier

0 LIKES UnLike

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

HTML 2.0

<html>

<head><title>Romance</title></head>

<body>

<p>

romance:

<img src="/imagesp/romance.jpg" alt="romance"

width="100" height="100">

</p>

</body>

</html>

I am making a web page on notepad. I ran this code through a validater and it was fine. Still no images show up just an x. Thank you for your time.

 Tags:

   Report

5 ANSWERS


  1. Try building it with this free editor.


  2. It should be &lt;img src=&quot;imagesp/romance.jpg&quot; alt=&quot;romance&quot;

    width=&quot;100&quot; height=&quot;100&quot;&gt;

  3. &lt;img src=&quot;/imagesp/romance.jpg&quot; alt=&quot;romance&quot;

    width=&quot;100&quot; height=&quot;100&quot;&gt;

    it displays the image &quot;site.com//imagesp/romance.jpg&quot; not the one at &quot;site.com/imagesp/romance.jpg&quot;

  4. Is your images folder named imagesp?

    Perhaps it should be

    &lt;img src=&quot;images/romance.jpg&quot; alt=&quot;romance&quot;

    width=&quot;100&quot; height=&quot;100&quot;&gt;

    and the link is relative to the file. Be sure your images folder is located on the same level as your page or adjust accordingly.

  5. are you sure the path to the image is correct?

    try without the leading forwardslash &lt;img src=&quot;imagesp/romance.jpg&quot;&gt;

    and check if  the extension is jpg or jpeg, or even if it&#039;s in all caps. that can sometimes throw it off.

Question Stats

Latest activity: earlier.
This question has 5 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.