How to insert images present in your system or pc in locations other than that of html file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to insert images present in your system or pc in locations other than that of html file

Its not the question I am asking I am going to answer it as it was asked by many in Q&A

11th Jul 2017, 5:47 PM
Priyanshu kumar Chaudhary
Priyanshu kumar Chaudhary - avatar
2 Answers
+ 2
To insert images present in your system or pc in locations other than that of html file write the following syntax <img src="///(file path)\(file name).(image format eg: jpg, png and so on)" /> To know the file path of the image just right click on the image and click properties, copy file path and paste it in the above syntax, Also from properties copy the file name and paste it in above syntax, In properties again there will be image format. Do the following and you will insert an image from other location than that of your html file. Upvote if helps and spread the information if works . And you can follow me too if wants different questions of you to be answered .
11th Jul 2017, 5:49 PM
Priyanshu kumar Chaudhary
Priyanshu kumar Chaudhary - avatar
0
I did the same but image was not displaying can u solve my problem
27th Mar 2020, 8:30 AM
V. Sai Rama Krishna
V. Sai Rama Krishna - avatar