2
Answers

How to remove domain name from img src in html?

Karan Thakkar

Karan Thakkar

5y
1.8k
1
I want to display an Image file on view which is located in D drive of my system.
below is example.
 
img src ="d://Document//1//aadhar-card.jpg"
 
but it doesnt render because when i hover after inspect element its also in add domain name at starting of path how can I remove that. 
Like for eg 
http://localhost:2116/d://Document//aadhar-card.jpg
 
Answers (2)