Images


#1

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?


#2

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.

src='nameoftheimage.extension'


#3

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.


#4

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