why tag <Img>doesn't work for me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

why tag <Img>doesn't work for me

I mean it's not upload pictures

30th Nov 2019, 1:47 PM
arash
56 Answers
+ 20
METHOD 1: DROPBOX Application --> First Download Dropbox from Playstore. --> Upload image that you want to add in HTML on Sololearn. --> Get link of image that you want to add in HTML on Sololearn. NOTE: there is "dl=0" at the last of link Replace it with "raw=1" METHOD 2: imgur.com Website --> First Create your Account. --> Upload image that you want to add in HTML on Sololearn. --> Get link of image that you want to add in HTML on Sololearn.
30th Nov 2019, 4:14 PM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
+ 12
arash Yes Dropbox is an App and you can upload your pictures there and get a image link which you can use here on Sololearn code.
30th Nov 2019, 3:51 PM
A͢J
A͢J - avatar
+ 12
Replace dl=0 with raw=1 in link which you get from Dropbox. so it work perfectly.
30th Nov 2019, 5:34 PM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
+ 8
Can you show your code.
30th Nov 2019, 2:18 PM
A͢J
A͢J - avatar
+ 6
Kumar Devashish There is no alt tag. It's a attribute of img tag and every browser support img tag.
30th Nov 2019, 3:11 PM
A͢J
A͢J - avatar
+ 6
Maybe img not path of img, it's been encrypted
1st Dec 2019, 3:02 AM
Agus Supriyanto
Agus Supriyanto - avatar
+ 5
May be you are not using the right or required syntax
30th Nov 2019, 11:56 PM
Spiff Jekey Green
Spiff Jekey Green - avatar
+ 4
I wrote like this <img src=425609401_234878.jpg></img>❌ Img tag is a self closing tag, it should look like <I'm src="src=425609401_234878.jpg"/> ✔️
30th Nov 2019, 7:58 PM
Melvin Kosisochukwu
Melvin Kosisochukwu - avatar
+ 4
फाइल फॉरमैट गलत हो सकता है
1st Dec 2019, 3:25 AM
Jagbir singh
Jagbir singh - avatar
+ 4
Check path or may be some Syntex error like you wrote in your questions
1st Dec 2019, 7:27 PM
Deepak Jaiswar
Deepak Jaiswar - avatar
+ 3
Some browser do not support the tag of img src....so as an alternative we use 'alt' tag....
30th Nov 2019, 2:19 PM
Kumar Devashish
Kumar Devashish - avatar
+ 3
arash would you send the screenshot of your code
30th Nov 2019, 3:08 PM
Kumar Devashish
Kumar Devashish - avatar
+ 3
arash How you used on Sololearn editor. Can you show.
30th Nov 2019, 3:13 PM
A͢J
A͢J - avatar
+ 3
then use a cloud file storage service, such as dropbox, upload and save your picture there, copy the full path to it. see my example in the message third from the top. or in my account. called "picture fishes". In codes section.
30th Nov 2019, 3:33 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 3
Plz send your code
30th Nov 2019, 8:49 PM
OnesAndZeroes10
OnesAndZeroes10 - avatar
+ 3
ऐसा भी हो सकता है कि फूल पाथ ना दी हो
1st Dec 2019, 3:25 AM
Jagbir singh
Jagbir singh - avatar
+ 2
Use external link img for your code. Upload your img to cloud service or hosting. See my example: https://code.sololearn.com/W0YYbYE1b35P/?ref=app
30th Nov 2019, 2:21 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
I used this tag in SL editor but i didn't give answer
30th Nov 2019, 3:06 PM
arash
+ 2
Where is your img situated?
30th Nov 2019, 3:19 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
before src
30th Nov 2019, 3:20 PM
arash