how can i add image from my pc storage??? what should i write after <img src= ???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how can i add image from my pc storage??? what should i write after <img src= ????

15th Aug 2017, 10:49 AM
Ahnaf Tahmid Kabbo
Ahnaf Tahmid Kabbo - avatar
3 Answers
+ 1
I understand your question, Ahnaf. try this: let's assume that you have an image called "screenshot.png" .. and your image is on windows, in drive D, and in a folder called "test" you would write the following HTML: <img src="file:///D:/test/screenshot.png" alt="image"> Tip: some new browsers like chrome are so smart that they will let you write: D:/test/screenshot.png and your image will still show up normally I hope that answers your question.
15th Aug 2017, 11:20 AM
Medhat Youssef
Medhat Youssef - avatar
+ 3
your image's file path <IMG src="here/my/image.jpg" alt="this my img >image</img>
15th Aug 2017, 11:02 AM
Lord Krishna
Lord Krishna - avatar
0
<img src="foldername/imagename.jpg">
15th Aug 2017, 11:23 AM
corejava