0
What's wrong with my code? Why am I unable to add the image? Can we add links to images in our phone?
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <a href="https://www.unsplash.com"></a> <img src="https://unsplash.com/photos/rqrpVxkG0u0?utm_source=unsplash&utm_medium=referral&utm_content=creditShareLink" "alt="Can not load" height="98%" width="98%"> </body> </html>
5 Respuestas
+ 4
Please 👉LINK your code instead of copying it in the description.
You need to make sure that the image source is actually an image
0
And the image source can be directly from Internet and phone gallery?
0
Yes, but in case you mean sololearn: sololearn doesn't have access to your device's storage.
0
Because that is not a proper link. Here is the correct link to the picture.
https://images.unsplash.com/photo-1649624526570-5e24dd42f242?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=987&q=80