+ 3

Can someone please tell me what I did wrong?

The image won’t display. <div class="logo" align="center"> <img src="imageedit_4_4586895055"> </div> https://code.sololearn.com/Wo3wP0VnlGy4/?ref=app

26th Mar 2020, 8:48 AM
Ruth De Leon
Ruth De Leon - avatar
54 Antworten
+ 9
@AKR the picture is in png
26th Mar 2020, 9:28 AM
Ruth De Leon
Ruth De Leon - avatar
+ 6
When placing an image, make sure that it has the extension for it, and if you want to get a picture, take it from within the site where the image is located, you can click on it and upload it to a new page, then take the link and confirm the presence of the extension👍
26th Mar 2020, 7:20 PM
Ismaeil Alrewany
Ismaeil Alrewany - avatar
+ 5
You need to upload your image to internet so that the others can see it. There are two free hosts : How to host an image, the imgbb way, by Farhanaz 🌟 https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app [Tutorial] Upload content from your device to CodePlayground - The Dropbox way https://code.sololearn.com/WW6t4B73kJVz/?ref=app This question has been asked and can be searched for. Users of this Q&A forum are recommended to use search feature before asking questions to avoid duplicates. https://www.sololearn.com/Discuss/1316935/?ref=app Search bar is here: https://www.sololearn.com/post/10362/?ref=app (Tips: Remember to switch filter option to "Most Popular" first, try also switching to trending once a while. Sometimes the popular filter doesn't show relevant results.)
26th Mar 2020, 9:21 AM
Gordon
Gordon - avatar
+ 5
ERIC OKPOTI Yup! That was the problem! Thank you so much! God bless you! 😘😘😘 And God bless everyone else who tried to help!
26th Mar 2020, 9:48 PM
Ruth De Leon
Ruth De Leon - avatar
+ 4
If the url of the image is correct then there is nothing wrong. Is just that u didn't complete the tag for the img. eg: <img src=" " />. You left the ( / ) sign out at the end.
26th Mar 2020, 7:54 PM
ERIC OKPOTI
ERIC OKPOTI - avatar
+ 4
The img url in incorrect. It has to end with .jpg, .png etc. Also the img tag should be like this, <img src=" " />. U can remain the img url to a simple one, like say img1. I think it will surely work.
26th Mar 2020, 8:22 PM
ERIC OKPOTI
ERIC OKPOTI - avatar
+ 3
DARK WEB🕸●➷➹● Thanks but it didn’t work.
26th Mar 2020, 8:10 PM
Ruth De Leon
Ruth De Leon - avatar
+ 3
It working when u replace border="1" or just remove the border="0" best is to remove border="0"
27th Mar 2020, 7:15 PM
Palak Borasi
Palak Borasi - avatar
+ 3
Code Crasher Thanks. Yes, the question has already been answered so people please stop commenting.
27th Mar 2020, 8:09 PM
Ruth De Leon
Ruth De Leon - avatar
+ 3
Code Crasher True. Thanks.
27th Mar 2020, 8:20 PM
Ruth De Leon
Ruth De Leon - avatar
+ 2
Where are you trying to upload the image from?
26th Mar 2020, 9:11 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
Your image path is not correct upload your post on postbox image and copy link then paste here
26th Mar 2020, 11:44 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
The image's appropriate location is required with a extension. E.g png , jpg
26th Mar 2020, 9:54 PM
MÆŘEÁLT
MÆŘEÁLT - avatar
+ 2
Src takes the path of image. You aren't mentioning the path and u mentioned the url.
27th Mar 2020, 2:27 AM
harsh
harsh - avatar
+ 2
Hey! You are not define height and width EX:- <img src="https://i.ibb.co/j3q4wWD/ruthdeleon-logo-2.png" alt="ruthdeleon-logo-2" border="0" height="200px" width="320px"> TRY THIS
27th Mar 2020, 2:37 AM
SAN
SAN - avatar
+ 2
But aditya the image should have shown without doing that
27th Mar 2020, 2:38 AM
harsh
harsh - avatar
+ 2
Without height and width define image have shown only by using css. You give example code
27th Mar 2020, 2:45 AM
SAN
SAN - avatar
+ 2
In schools i tried it without css. Don't know but it worked
27th Mar 2020, 2:47 AM
harsh
harsh - avatar
+ 2
Some tags do not require end tags EX: <img>
27th Mar 2020, 4:20 AM
SAN
SAN - avatar
+ 2
U can use Dropbox or imgur to link your image.
27th Mar 2020, 10:49 AM
Suhail 🐈[INACTIVE]
Suhail 🐈[INACTIVE] - avatar