Please I need help, I tried inserting an image in my HTML code but it is not showing the images | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please I need help, I tried inserting an image in my HTML code but it is not showing the images

I used this format <img src="img.jpg" alt=""/>

28th Dec 2017, 10:10 AM
Adoghe David
Adoghe David - avatar
6 Answers
0
if you are trying to do this from your computer, create a new folder and inside of that folder put another (folder) called images and your html document. So now when you want to insert an image type: src="/images/image.jpg"
28th Dec 2017, 11:18 AM
Ice
Ice - avatar
+ 2
If that image is there in your phone and you are trying to insert it here, it won't work. You will have to copy the URL of an image available online.
28th Dec 2017, 10:43 AM
Harsh
Harsh - avatar
+ 2
If you are trying to insert it in the code playground here then it won't work, it has to be an online source.
28th Dec 2017, 10:50 AM
Harsh
Harsh - avatar
0
where is the image located? I mean where is it located in the folder
28th Dec 2017, 10:16 AM
Ice
Ice - avatar
0
it located stored in my laptop's hard-drive and not in my phone
28th Dec 2017, 10:45 AM
Adoghe David
Adoghe David - avatar
0
it worked
28th Dec 2017, 4:31 PM
Adoghe David
Adoghe David - avatar