Stella 0 Posted April 7, 2020 Report Share Posted April 7, 2020 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. Am I doing smth wrong? Thank you! Quote Link to post Share on other sites
Ingolme 1,035 Posted April 7, 2020 Report Share Posted April 7, 2020 Is the image file in the same folder as the HTML file? Quote Link to post Share on other sites
dsonesuk 929 Posted April 9, 2020 Report Share Posted April 9, 2020 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 Quote Link to post Share on other sites
Makwana Prahlad 1 Posted April 15, 2020 Report Share Posted April 15, 2020 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> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.