0

about <img> tag

when i add image in html code. the image is not displayed. i have tried many times ,but it is still not working?please help.

12th Jun 2018, 6:04 AM
@Alone_Af_
@Alone_Af_ - avatar
7 odpowiedzi
+ 7
@Aadarsh maybe you are trying to put an image from your device. Sololearn doesn't support that feature. To display an image in the <img /> tag you should need to upload your image on some online platform. From there you can copy the image link and paste it in place of the link in the following code. <img src="link" />
12th Jun 2018, 6:31 AM
Akash Pal
Akash Pal - avatar
+ 1
Could you please post your code here, then we can help you:)
12th Jun 2018, 6:26 AM
Jonas Schröter
Jonas Schröter - avatar
+ 1
my problem is when i use codeplayground and take an image from my computer the image is not displayed but when i use notepad to make the same html code and then open it with any browser it is displayed and the html file runs completely well.so for codeplayground what should i do.
12th Jun 2018, 6:32 AM
@Alone_Af_
@Alone_Af_ - avatar
+ 1
Akash is right
12th Jun 2018, 6:35 AM
Jonas Schröter
Jonas Schröter - avatar
+ 1
thanks for clearing my doubt.😊
12th Jun 2018, 6:42 AM
@Alone_Af_
@Alone_Af_ - avatar
0
i did things as you said and it worked
12th Jun 2018, 6:49 AM
@Alone_Af_
@Alone_Af_ - avatar
0
<img src="copy here path of the picture/img_name"> This way will work
12th Jun 2018, 7:18 AM
IMRAN HOSEN
IMRAN HOSEN - avatar