<img src="C:\Users\Maxine\Pictures\loveson.jpg">
The image does not appear when incorporate the image location within the source. If I upload an image from the internet, and copy the image source, the image will appear after executing the code.
<img src="C:\Users\Maxine\Pictures\loveson.jpg">
The image does not appear when incorporate the image location within the source. If I upload an image from the internet, and copy the image source, the image will appear after executing the code.
If this is for a website you are developing on your computer, then put in in a folder called 'images' relative to the index.html file;
Then use this:
<img src="/images/loveson.jpg">
If this is for a website that is current accessable to the public, then i suuggest uploading the images you wish to use onto the server the website is located and follow the same directions as specified above. You do not want to allow people to access your local files system, bad news.
You can access local files ONLY if the whole webpage (the HTML file) is also accessed as a local file. If you uploaded the page to some server or access it via localhost, then it is not possible to access local file directly.
Also, you should use file://
at the beginning of path, however browsers will understand the path even without it:
src="file://C:\Users\Maxine\Pictures\loveson.jpg"