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

14th Oct 2022, 10:32 PM
Danish Zubair
Danish Zubair - avatar
29 Respostas
+ 7
Danish Zubair your code is correct just make the image larger with the width and height attributes
15th Oct 2022, 1:14 AM
Chris Coder
Chris Coder - avatar
7th Apr 2023, 10:34 AM
JaScript
JaScript - avatar
+ 3
Send the img tag in your code
15th Oct 2022, 5:52 PM
Techna💖💕😎
Techna💖💕😎 - avatar
+ 3
Techna, I have just tried and it works, the image shows. Thank you and everybody for the incredible support. Thank you so much.
15th Oct 2022, 8:40 PM
Danish Zubair
Danish Zubair - avatar
+ 3
????
16th Oct 2022, 7:53 PM
Techna💖💕😎
Techna💖💕😎 - avatar
+ 2
Just put your width=100 and height=100 you will see your image.
15th Oct 2022, 3:09 AM
Alpha Diallo
Alpha Diallo - avatar
+ 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.
15th Oct 2022, 8:43 PM
Danish Zubair
Danish Zubair - avatar
+ 2
My Image is not showing Just a small indication of an image indicating that an image suppose to be here
9th Sep 2023, 1:33 PM
Handsome Ochei
Handsome Ochei - avatar
+ 1
To add an image in html you use <img src=' ' /> tag. src should point to your image location.
14th Oct 2022, 10:45 PM
Alpha Diallo
Alpha Diallo - avatar
+ 1
Where you image is located??
14th Oct 2022, 10:50 PM
Alpha Diallo
Alpha Diallo - avatar
+ 1
Is your image hosted in Dropbox??
14th Oct 2022, 10:53 PM
Alpha Diallo
Alpha Diallo - avatar
+ 1
15th Oct 2022, 8:41 PM
ODLNT
ODLNT - avatar
+ 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
16th Oct 2022, 8:35 AM
niteOwLTwOwHO
niteOwLTwOwHO - avatar
+ 1
And image for site link and use width and height
16th Oct 2022, 7:45 PM
Разин Ярослав Александрович
Разин Ярослав Александрович - avatar
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
14th Oct 2022, 10:48 PM
Danish Zubair
Danish Zubair - avatar
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.
14th Oct 2022, 10:51 PM
Danish Zubair
Danish Zubair - avatar
0
Yes, I have created a link from there as well and pasted, but still not working
14th Oct 2022, 10:54 PM
Danish Zubair
Danish Zubair - avatar
0
Can you share your code
14th Oct 2022, 10:55 PM
Alpha Diallo
Alpha Diallo - avatar
14th Oct 2022, 10:56 PM
Danish Zubair
Danish Zubair - avatar
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.
15th Oct 2022, 9:52 AM
Danish Zubair
Danish Zubair - avatar