Html – Adding an image from a url – html


I am having trouble displaying an image from the internet on my html page.

The line is:

<img src="http://www.somepic..." alt="pic" />

What is wrong with it? Does that only work with images that are on my disk?

Thank you

Best Solution

Based on the URL you've presented in the comments above, my guess is that you're not actually linking to an image, you're liking to a web page but mistaking it for an image.

For instance, the url you provided:,r:1,s:0&biw=1280&bih=656

Is the URL of a webpage showing the image, not the image itself.

Make sure you're linking to the actual image itself:

<img src="" 
alt="Cheetah!" />