+ 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?
8 odpowiedzi
+ 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" />
+ 2
You must put the image or save it in the same folder of html file..
+ 2
How to save image in the folder of html file?
+ 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.
+ 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.
+ 1
You need to save the image in the same folder as the html file.
+ 1
How to make html file? I appreciate your help.
0
please make sure there shouldn't be any space