+ 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
62 odpowiedzi
+ 9
@AKR the picture is in png
+ 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👍
+ 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.)
+ 5
ERIC OKPOTI Yup! That was the problem! Thank you so much! God bless you! 😘😘😘 And God bless everyone else who tried to help!
+ 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.
+ 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.
+ 3
DARK WEB🕸●➷➹● Thanks but it didn’t work.
+ 3
It working when u replace border="1" or just remove the border="0" best is to remove border="0"
+ 3
Code Crasher Thanks. Yes, the question has already been answered so people please stop commenting.
+ 3
Code Crasher True. Thanks.
+ 2
Where are you trying to upload the image from?
+ 2
Your image path is not correct upload your post on postbox image and copy link then paste here
+ 2
The image's appropriate location is required with a extension. E.g png , jpg
+ 2
Src takes the path of image. You aren't mentioning the path and u mentioned the url.
+ 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
+ 2
But aditya the image should have shown without doing that
+ 2
Without height and width define image have shown only by using css. You give example code
+ 2
In schools i tried it without css. Don't know but it worked
+ 2
Some tags do not require end tags
EX: <img>
+ 2
U can use Dropbox or imgur to link your image.