Images

by 2 replies
2
I'am in the process of designing a website. When I try to insert an image into my web page using my Safari v8.0.2 browser. I get a question mark in a blue box with my "alt" text. I have checked for capitals(case sesitive) letters. They matches all letters are lower case. I have a root folder. In the root folder. I have my images folder with my image inside, and css folder. Will someone tell me how to resolve this problem so my image appears?

Here is the code:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Information web site</title>
<link rel="stylesheet" type="text/css" href="../css/style.css" />
</head>
<body>
<h1>Image won't load</h1>
<img src="images/hundred.jpeg" alt= "bill" width="300" height=300" />
<p>Within the next year.</p>
<h2>Time is money</h2>
<p>It will be done.</p>

</body>
</html>

My image name is:
hundred.jpeg

I've tried:

"images/hundred.jpeg"
"./images/hundred.jpeg"
"../images/hundred.jpeg"
/images/hundred.jpeg"
#website design #images
  • Did you actually upload it?
    Is it stored in a folder called images.
    The name can also be case sensitive.
  • Curious why it's jpeg instead of jpg?

    Not sure if that makes a difference. You could also try the absolute url, see if that works.

Next Topics on Trending Feed

  • 2

    I'am in the process of designing a website. When I try to insert an image into my web page using my Safari v8.0.2 browser. I get a question mark in a blue box with my "alt" text. I have checked for capitals(case sesitive) letters. They matches all letters are lower case. I have a root folder. In the root folder. I have my images folder with my image inside, and css folder. Will someone tell me how to resolve this problem so my image appears? Here is the code: