How to insert image from same directory but different folder ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to insert image from same directory but different folder ?

1st Apr 2019, 6:16 AM
Wahid Khudayar
Wahid Khudayar - avatar
2 Answers
+ 2
You can simply copy and paste the image from the folder to the required one. Now, you have your image in the same folder. So, you can simply write : Say, my image's name is cake(in jpg format) Hence, <img src="cake.jpg" alt="CAKE"> You will see the image! I hope you understood it! If not, do not hesitate to ask. Best regards, Poorva
1st Apr 2019, 7:33 AM
Poorva Mahesh Shukla
0
I'm familiar with that way, I'm saying if it is in different folder
1st Apr 2019, 8:25 AM
Wahid Khudayar
Wahid Khudayar - avatar