+ 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?
9 Respostas
+ 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.
+ 8
<img src="url_of_img">
https://www.sololearn.com/learn/HTML/1030/?ref=app
Please use search bar before asking the question.
https://www.sololearn.com/discuss/1839260/?ref=app
https://www.sololearn.com/discuss/1039326/?ref=app
https://www.sololearn.com/discuss/2084638/?ref=app
https://www.sololearn.com/discuss/1288998/?ref=app
https://www.sololearn.com/discuss/2023817/?ref=app
https://www.sololearn.com/discuss/1608657/?ref=app
https://www.sololearn.com/discuss/448394/?ref=app
https://www.sololearn.com/discuss/155772/?ref=app
https://www.sololearn.com/discuss/2292204/?ref=app
https://www.sololearn.com/discuss/1283036/?ref=app
+ 3
Upload your picture in Dropbox. Get a link and paste in your code.
+ 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.
+ 2
Use external link for your image. Put it into cloud service or hosting. See my example:
https://code.sololearn.com/W0YYbYE1b35P/?ref=app
+ 2
The questioner solved this problem (I think)
+ 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.
0
save image in drive then generate link