+ 5
HTML Image
Hi, I want to add an image to my HTML code, I added the image and run the code on other compiler and the image shows, but on Sololearn it doesn't. Can somebody tell me how to add an image in Sololearn? Thank you.
32 Réponses
+ 7
Danish Zubair your code is correct just make the image larger with the width and height attributes
+ 3
Send the img tag in your code
+ 3
Techna, I have just tried and it works, the image shows. Thank you and everybody for the incredible support. Thank you so much.
+ 3
????
+ 2
Just put your width=100 and height=100 you will see your image.
+ 2
ODLNT, yes I have just tried out, pribably it did not worked for 18 hours for loading issues from Sololearn, but now I have trued out and it works, thank you for letting me know.
+ 2
My Image is not showing
Just a small indication of an image indicating that an image suppose to be here
+ 1
To add an image in html you use <img src=' ' /> tag.
src should point to your image location.
+ 1
Where you image is located??
+ 1
Is your image hosted in Dropbox??
+ 1
You code works on sololearn. https://www.sololearn.com/post/1712605/?ref=app
+ 1
Danish Zubair
You had some minor issues with your table records, i cannot explain what the problems are so i just edited your code a little. I also don't know why the images were not being displayed, your code looks ok.. so i just searched for an image that worked from the source files that you originally used.
https://code.sololearn.com/WZ5tx042Cuhs/?ref=app
+ 1
And image for site link and use width and height
0
I added that I have added <img src = "image link" alt = "alternative text">, but it is still not working, it shows the alternative text, but not the image
0
It is web image and I have downloaded it aswell and pasted a link with dropbox but in both cases it is not working.
0
Yes, I have created a link from there as well and pasted, but still not working
0
Can you share your code
0
I have added that first, but it didnt work, that is why I added 10 as both, so it can work, but it is still not working. The code works in other compilers, but it don't work in Sololearn.