hi,I have an image named waterfall. jpg,but I tried to add it to my webpage but it could not be displayed on my page. How can I add it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

hi,I have an image named waterfall. jpg,but I tried to add it to my webpage but it could not be displayed on my page. How can I add it?

10th Oct 2016, 6:40 PM
Mathew Korir
Mathew Korir - avatar
8 Answers
+ 3
you need to upload your photo on any site and get the link. postimg.org is best I think. <img src="here you add the link" />
10th Oct 2016, 6:53 PM
Li Kyüi Ng'bawi Awm
Li Kyüi Ng'bawi Awm - avatar
+ 2
You must put the image or save it in the same folder of html file..
11th Oct 2016, 10:31 AM
Baraa AB
Baraa AB - avatar
+ 2
How to save image in the folder of html file?
28th Nov 2016, 8:57 AM
Roy Del Rosario
Roy Del Rosario - avatar
+ 1
Make sure your src points to the file on your filesystem. Take a look at absolute and relative paths on google and use whatever works best for you. Usually, just copy the image into whatever folder your html file is in and put the name of the image (e.g. waterfall.jpg) and it should be able to find it.
10th Oct 2016, 6:45 PM
Ryne
Ryne - avatar
+ 1
Create folder images in you files, where are website files. Insert waterfall into that folder. Add code <img src="images/waterfall.jpg" alt="water"/>. You can add width and height attributes before alt.
10th Oct 2016, 8:06 PM
Nada
Nada - avatar
+ 1
You need to save the image in the same folder as the html file.
10th Oct 2016, 9:35 PM
Allison Wykle
Allison Wykle - avatar
+ 1
How to make html file? I appreciate your help.
28th Nov 2016, 9:01 AM
Roy Del Rosario
Roy Del Rosario - avatar
0
please make sure there shouldn't be any space
11th Oct 2016, 5:46 AM
sameera talib