Jump to content

browsers don't show pictures

Víctor Pan

Recommended Posts

Hello, I’m trying to learn how to créate a webpage on html. My first Project is my curriculum vitae. But wen I open the html browsers only show the alternative text (alt) but not the picture. I’ve tried with: Chrome, Explorer, Opera and Mozilla and none of them show the picture. So I probed with a very simple website, just with the image command. An I have the same problem, browsers don't show the image, they only show the alternative text. This is the html code:



<img src="mario.jpeg" alt="Foto Mario">



And the picture name’s is mario.jpeg, and is jpeg format and in the same folder that the html file.

I’ve try in my mobile phone and in a friend's computer, and the result is the same I attatche a screen shot below this


If you can help me it would be great, THANK YOU!!!!


Link to comment
Share on other sites

The problem is that your files have duplicate extensions, probably because Windows is configured to hide the file extensions. To make it work as you have it currently, you would have to use the filename mario.jpeg.jpeg

Link to comment
Share on other sites

Thank you very much, it was a silly thing but it was driving me crazzy. Now it works. 🙂


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...