Jump to content

Recommended Posts

Hello. 

This is my first steps of learning html but i have a problem. Attacked you'll find the code and the file that i have the image. It doesn't appears to the browser. homepage.thumb.png.c47256b301d757fae9f3a4acde4dc0b4.pngAm I doing smth wrong? Thank you!

html.jpeg

Share this post


Link to post
Share on other sites

Is the image file in the same folder as the HTML file?

Share this post


Link to post
Share on other sites

Have you got hidden file extensions? that is why you see index.html listed, when its actually index.html.html and the image is really life-on-the-tracks.jpg.jpg, probably why it says index.html.html in address bar when you opened index.html from windows explorer

Share this post


Link to post
Share on other sites


code is perfectly fine

please check your image name or image type like jpg, png, gif, etc...

thank you

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <img src="life-set-life.jpg" alt="image not show">
</body>
</html>

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...