How to specify source path of HTML image tag
P粉547362845
P粉547362845 2023-08-15 18:29:01
0
1
616
<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>
P粉547362845
P粉547362845

reply all(1)
P粉718730956

You should be able to simply do this:

<img src="C:\Users\OMKAR\OneDrive\Desktop\memories\IMG20221004055341.jpg"/>

Since the files are not in the same folder, you just need to use the absolute path to the file!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template