why tag <Img>doesn't work for me | Sololearn: Learn to code for FREE!

+5

why tag <Img>doesn't work for me

I mean it's not upload pictures

11/30/2019 1:47:39 PM

arash

58 Answers

New Answer

+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.

+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.

+12

Replace dl=0 with raw=1 in link which you get from Dropbox. so it work perfectly.

+8

+6

Kumar Devashish There is no alt tag. It's a attribute of img tag and every browser support img tag.

+6

Maybe img not path of img, it's been encrypted

+5

May be you are not using the right or required syntax

+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"/> ✔️

+4

फाइल फॉरमैट गलत हो सकता है

+4

Check path or may be some Syntex error like you wrote in your questions

+3

Some browser do not support the tag of img src....so as an alternative we use 'alt' tag....

+3

arash would you send the screenshot of your code

+3

arash How you used on Sololearn editor. Can you show.

+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.

+3

Plz send your code

+3

ऐसा भी हो सकता है कि फूल पाथ ना दी हो

+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

+2

I used this tag in SL editor but i didn't give answer

+2

I wrote like this <img src=425609401_234878.jpg></img>

+2

Where is your img situated?