Jump to content
Sign in to follow this  
Víctor Pan

browsers don't show pictures

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:

<htlm>

<body>

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

</body>

</html>

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!!!!

consultaforo.zip

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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

 

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...
Sign in to follow this  

×
×
  • Create New...