How to specify source path of HTML image tag
P粉547362845
2023-08-15 18:29:01
<p>How to add an image to an HTML file directly from our C/D drive without taking it into the HTML file/folder? Is it possible? </p>
<p>How to add an image to an HTML file directly from our C/D drive without taking it into the HTML file/folder? Is it possible? </p>
<p>If there is a way I can add a file like in "C:\Users OMKAR OneDrive Desktop memories IMG20221004055341.jpg" we can include it in our HTML file without bringing it into the HTML file in the folder where the . </p>
You should be able to simply do this:
Since the files are not in the same folder, you just need to use the absolute path to the file!