+ 2

Please, How can someone input an Image. I have been trying it, using the <img> tag

HTML

30th Mar 2018, 2:07 PM
Seer Samuel
Seer Samuel - avatar
7 odpowiedzi
+ 3
<img src="file://C://Images//yourimage.jpg"/>
30th Mar 2018, 2:21 PM
silentlearner
silentlearner - avatar
+ 4
Seer Samuel .Where are you getting your images from? I mean which device. Laptop. Phone or online link.
30th Mar 2018, 2:09 PM
Akash Pal
Akash Pal - avatar
30th Mar 2018, 2:10 PM
Akash Pal
Akash Pal - avatar
+ 3
For the image on pc, you can use it by giving its location in src="file's location". But if you want to use that picture on SoloLearn code playground, You should take the image link from some online source or you can upload your pictures at the some online sites for getting the links.
30th Mar 2018, 2:59 PM
Akash Pal
Akash Pal - avatar
+ 2
@Akash Pal. My Laptop
30th Mar 2018, 2:11 PM
Seer Samuel
Seer Samuel - avatar
+ 2
@Akash Pal the link you posted up there is meant for ULR. what if the image is on my PC. how am I gonna do it?
30th Mar 2018, 2:12 PM
Seer Samuel
Seer Samuel - avatar
+ 1
Use <img src="picture.jpg"> if the image is located in the same folder as the current page Use <img src="images/picture.jpg"> if the image is located in the images folder in the current folder Use <img src="/images/picture.jpg"> if the image is located in the images folder at the root of the current web Use <img src="../picture.jpg"> if the image is located in the folder one level up from the current folder
30th Mar 2018, 2:23 PM
Memphis Reigns
Memphis Reigns - avatar