+ 3
Can someone pls help me check my png img code for html it won't show up when I put it in
<p align="center"><img src="7725467.png" width="180px></p>
40 ответов
+ 8
I do not know whether the source (src) path is specified correctly, as I do not know your file structure. Is the image in the same folder as the html file? If not, the pathway is invalid and should be changed.
You do not have: >
At the end of the image tag.
This is the problem because it breaks html syntax, the syntax is: <element> </element>
Some elements are empty elements and do not require a closing tag ( </element> )in html5, such as: <br> <hr> <img>
You also do not have second pair of quotation marks at the end of your value specified in the width attribute.
This also breaks the syntax because it should be: width="value"
Fix these 2 syntax problems and see if it works. If it doesn't, then it's the file path which is wrong.
+ 4
Thank you for trying to help
+ 3
Try putting the location of the image like
http://www.sololearn
that above is where the browser will go to and find the image
+ 2
Try to do it on desktop, as it's more effective and easier, rather than doing it on mobile.
+ 2
It's supposed to look like this
<p align="center"><img SRC="7374838.png" width="180px"></p>
+ 2
Again, you miss > at the end of <img> tag.
+ 2
Okeh, seen and edited
+ 1
That's the thing I don't have desktop and if I did I don't know if I can get solo learn on it
+ 1
Are you creating this on sololearn or mobile?
+ 1
I'm learning html and adding an img was a task on solo learn mobile
+ 1
On sololearn? If so, follow the instructions and make sure your code follows html syntax
+ 1
I did yet I don't see the image for my CV project
+ 1
Best way to add images in HTML without any errors is to create a folder for your project in that folder you should create index.html and style.css and then create a folder inside that folder for all the images you are going to use now in any ide for html let's say Visual studio when you press space bar in img src it will show all the images in the folder you can select your desired image in that droupdown very easy and convenient....
+ 1
Okay
+ 1
Try replacing it with http://www.sololearn.com/images/tree.jpg, which is a basic test file on sololearn.
+ 1
Gamma 482 thank you sooo much I was able to add my image. I really appreciate it.
+ 1
The src for you url must be valid meaning it must have a path eg https:// or user://path
For more solution Check out on
https://www.instagram.com/world__programmers?r=nametag
+ 1
Tafadzwa Chikuvire I tried that, but it did not work for images I found online
+ 1
Pelumi Tubi show me what you did