Stella Posted April 7, 2020 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! Link to comment Share on other sites More sharing options...
Ingolme Posted April 7, 2020 Share Posted April 7, 2020 Is the image file in the same folder as the HTML file? Link to comment Share on other sites More sharing options...
dsonesuk Posted April 9, 2020 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 Link to comment Share on other sites More sharing options...
Makwana Prahlad Posted April 15, 2020 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> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now