+ 2
Please, How can someone input an Image. I have been trying it, using the <img> tag
HTML
7 Answers
+ 3
<img src="file://C://Images//yourimage.jpg"/>
+ 4
Seer Samuel .Where are you getting your images from? I mean which device. Laptop. Phone or online link.
+ 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.
+ 2
@Akash Pal. My Laptop
+ 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?
+ 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