Can I use the img in a renamed image ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can I use the img in a renamed image ?

I have got confused

22nd May 2018, 10:36 AM
Aditya Miri
5 Answers
0
What language are you talking about?
22nd May 2018, 10:52 AM
Kiwora
Kiwora - avatar
0
html
22nd May 2018, 10:53 AM
Aditya Miri
0
The computer uses image to which leads the path you've written in src attribute. If you rename the image, it's path will change too and the earlier one just won't work because your computer won't be able to find such file. Shortened, you rename the image -> it's path is changing too -> there is no image in the previous path -> no image will be loaded. To conclude, the answer is no. You have to rewrite the src attribute in your code if you want to rename an image.
22nd May 2018, 11:01 AM
Kiwora
Kiwora - avatar
0
okkay
23rd May 2018, 10:54 AM
Aditya Miri
0
thanks
23rd May 2018, 10:54 AM
Aditya Miri