+ 2

Where all can you "pull" (source) an image from; meaning, does it have to be a URL, or can it be a file (is that what is meant by "relative" and "absolute")? Also, how do you "format" the image/where do you put it so it can be accessed by the code and used on the webpage?

For example, if I take a picture and upload it to my computer, what do I do then to make that image available to encode and display online in the finished product?

17th Apr 2016, 4:59 PM
Sondra R. Coffin
Sondra R. Coffin - avatar
5 Antworten
+ 1
you use it in the CSS file.. but it have to be in same folder with the HTML file on your pc.. then use the URL() it will be shown in the browser.
20th Jun 2016, 5:34 AM
Mohamed El-Saadany
Mohamed El-Saadany - avatar
+ 1
maybe u can try to copy ur image to same new folder with the html code then u write this code <img src="newfoldername/nameofthepic.jpg"> idk if it's work cause i'm a beginner and i try using my way so idk if it's same or not w/ the code must to be
10th Jul 2016, 3:46 PM
Afifah
Afifah - avatar
+ 1
Relative means something like <img src="panda.jpg">. Absolute is something like <http://mysite.com/panda.jpg>. If you are using a local image file (not hosted on the Web) then it needs to be in the same folder as your HTML file, or in a subfolder.
1st Aug 2016, 1:21 AM
Laura Hamrick
Laura Hamrick - avatar
0
Good Question. Me too Waiting for answers.
17th Jun 2016, 4:32 PM
Bhushan Babar
Bhushan Babar - avatar
0
muhammet is true
2nd Jul 2016, 12:29 PM
sagir
sagir - avatar