+ 3
What is the mistake i made? How to display the image?
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <img src="Divice storage/sololearn/dragon.jpg" alt="mass"> </body> </html>
25 Respostas
+ 9
alt tag is used for image description if the image doesn't get printed
+ 8
That means Sololearns browser doesnt support your image. So inorder to display it ,try running the code on any other compilers.
+ 6
It should be <img src and not scr.
+ 6
Then the browser might not support the image.
Does mass gets printed?
+ 6
Then its Ok
+ 4
You cants add any device's image
Only the link works on SL
Because SL control can't reach to your device's memory
So
If you want to upload any image on SL
There is a way
Upload the image on any secured site like Pinterest...
Then copy the Google link from there
Paste the link on SL server
Then you may get that image
Hope my answer satisfies you
+ 4
Thanks broTanmoy Kumar[📚School📚]
No problem😌Lazy8055
+ 3
Thanks Alphin K Sajan,Simba,UTKARSH SAHA for your help!
Now i understood.
Thanks.
+ 3
Sololearn doesn't support local sharing within the phone storage and the app.
+ 3
The INDIAN Is ABSOLUTELY RIGHT.
+ 3
💞Shanaya💞
Yes Bhai she is correct
+ 2
may be try to store the pic in the same folder as Html file.
+ 2
upload the files to Dropbox and copy the link because you can't add any device files I'm the playground
+ 2
Thank for the huge help bro
+ 2
Thanks sis
+ 2
First of all, directories should not have spaces in their names. Second you don't have any filesystem on sololearn, thus you should write absolute paths!
+ 1
Bro i change but image is not displayed
+ 1
Please help me
I am trying for this more than 2 hours
Head pain😭😭😭
+ 1
Yes mass is printed
+ 1
I tried on sololearn not on browser