New course! Every coder should learn Generative AI!
Try a free lesson0
Hey can anyone please tell me why this IMG in this code is not showing. I have typed this IMG url correctly. In proper tags.
https://code.sololearn.com/W7gleVVZcA5J/?ref=app. This is my code please tell me what's the error in this code. How I can display this IMG in my output.
9 Answers
+ 5
Sumit here is your little rabbit
https://code.sololearn.com/WeE4bw4d9AW3/?ref=app
https://www.sololearn.com/post/459751/?ref=app
+ 5
Sumit it's becouse you need a direct link. In this case you are accessing to the HTML source and not image source like jpg, png, etc.
+ 5
Sumit That page doesn't provide a direct link.
You can download the image then craete a imgur account and upload your image then you can get a direct link.
+ 3
It's because you need to specify image URL in the img tag
Rather than specifying page URL
+ 2
Pls check the link address.
+ 1
copy/paste this into your code:
<img src="https://wallpapercave.com/wp/KNiixrs.jpg" alt="Rabbits with lop ears in bars" width="203">
+ 1
<img src = "https://wallpapercave.com/wp/KNiixrs.jpg" alt="Rabbits with lop ears in bars" width ="203px" height="203px">
You have pasted the link of page containing that image not the link of img.
0
I have checked the link it showing correctly
0
So how can I access the direct link or image soure. Please tell me ,