How do you add an image to HTML

How do you add an image to HTML from a source like instagram, do you use the website URL or??

i don’t know if you can use instagram pics but you generally work with < img src=“SOURCE” alt=“ALT_TEXT”> where SOURCE can either be local ex. /users/user/Desktop or a URL .

So what would the code look like if i wanted to get the picture from my files?

If the webpage is on the internet, you cannot use your local files. It needs to be uploaded to the hosting space or to a place that will host an image.

If the image is in the same folder as your html file, you use the image name in the src attribute. Otherwise yes, you use the URL path and the image name.