Adding an Image from a Url - Html
I Am Having Trouble Displaying an Image from the Internet on My Html Page. the Line Is: What Is Wrong with It? Does That Only Work with Images That Are on My...
I am having trouble displaying an image from the internet on my html page.
The line is:
<img src="" alt="pic" />
What is wrong with it? Does that only work with images that are on my disk?
Thank you
1 Answer
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:
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!" />