0

How can I Insert an image from my computer in a HTML code?

I cannot insert an image in my code what is wrong with it, the code is the same of the exercise, but I want to insert an image from my computer, I appreciate your help.

20th Dec 2016, 11:16 PM
Andres Espitia
Andres Espitia - avatar
2 Answers
+ 3
If you're using an absolute path (i.e. C:\...\imgsrc.jpeg) make sure it the full path is correct, otherwise if you just specify the name of the file, you're using a relative path which assumes the image source is in the same or sub-folder as the HTML document.
20th Dec 2016, 11:22 PM
Nathan Smith
Nathan Smith - avatar
+ 2
Place the image in the same folder where you are saving the html pages.
4th Jan 2017, 3:06 PM
Anirban Banerjee
Anirban Banerjee - avatar