How to Insert an Image in a Webpage (HTML / XHTML)
Loading...
24,900
Loading...
Uploader Comments (LearnWebCode)
see all
All Comments (38)
-
thnx
-
I have tried your method verbatim and all I get is a blank Safari page....
What am I doing wrong? I have checked the image suffix for .jpg and I have followed every one of your syntaxes to the letter...
-
no matter what I do I can"t get my phot to display.what is a file extension by the way.
-
it works 100% ,merci mon ami
-
YOU STOLE MY DOG
-
@Eman7002x sometimes a little difference in the actual file name and the one used in html can cause havoc.
-
You sir, deserve a cookie. This helped a ton
-
youtube.com
-
Thank you so much man!!!!!!
-
i see what the problem is.
when i save an image i never put the .jpg extension after it.
but now it worked!!
thanks alot :)
Loading...
no, it did not work..i dont know what to do=/
mikawahwah 5 months ago
@mikawahwah The file name can also be case sensitive. Also can you try adding a "/" slash right before the closing ">" symbol? That will close the element, and your browser may be getting tripped up on that.
LearnWebCode 5 months ago
Hi! Please help! I saved an image from google to my desktop and then followed your steps, but it doesn't work, all I sew is a square with an x in it. What am I doing wrong?? Help!!!!
mikawahwah 5 months ago
@mikawahwah Can you maybe try using .jpg instead of .jpeg after the name of the file in your code? Let me know if that solves the problem.
LearnWebCode 5 months ago
My image doesn't insert, it just shows a ripped piece of paper. I've tried a lot of things like moving the image to my folder that contains my index.html but it just shows up with the same thing. Help please? Also I am using Notepad++ and src text is red and the image text is purple. Sorry I am very new.
Eman7002x 5 months ago
@Eman7002x Is your image a JPG, PNG, or GIF? Maybe the file extension isn't matching. I'm not sure what else could be causing the problem. Can you maybe message me the code you're using?
LearnWebCode 5 months ago