+ 5

How to insert images in HTML

I put <img src="the file path" width="the width" height="the height"></img> but the image isn't shown. What can I do to show the image?

30th Nov 2019, 2:29 PM
Eduardo Cavalcante
Eduardo Cavalcante - avatar
9 Respuestas
+ 15
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:13 PM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
30th Nov 2019, 4:12 PM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
+ 3
Upload your picture in Dropbox. Get a link and paste in your code.
30th Nov 2019, 4:06 PM
A͢J
A͢J - avatar
+ 3
You have to insert an image as a link and use the img tag. Do not use a closing tag though since it doesn't have one.
11th Dec 2019, 4:23 PM
Shane Coughlin
Shane Coughlin - avatar
+ 2
Use external link for your image. Put it into cloud service or hosting. See my example: https://code.sololearn.com/W0YYbYE1b35P/?ref=app
30th Nov 2019, 2:40 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
The questioner solved this problem (I think)
1st Dec 2019, 5:50 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
first, img is one of the few tags that does NOT have a closing tag. Second, on Sololearn I believe you must use the image link, not a file.
1st Dec 2019, 4:17 PM
Joshua
0
save image in drive then generate link
14th May 2020, 7:11 PM
Amelye L Mhagama
Amelye L Mhagama - avatar