Karan Thakkar

Karan Thakkar

  • 1.5k
  • 204
  • 89.5k

How to remove domain name from img src in html?

Sep 19 2019 8:18 AM
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)