If we have image in internet ,we can mention the source. But,what if we have image inside our system what code should we use to mention that?

It’s same.just mention the source of that file.

for example:

If your .html file and image at same folder then add the image name with extension(.jpg or .png) to the src attribute.


1 Like

If I understand your question correctly. You would like to know how to display an image on your own system. You would need to save the image inside your HTML folder.

Example below:

<img src="thisPicture.jpg" alt="This picture">

And if you had it inside multiple sub-folders, you would just copy the location.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.