0
Why i cant insert img on my code?
I cant start img on my code . how to insert my image on my code. https://code.sololearn.com/WWv9Isf8q9fZ/?ref=app
11 Antworten
+ 12
Your img tag is not properly closed, and the image link doesn't seem to be complete.
I.e. chatnpl.png does not refer to a local file on the server wherein html file is located. You have to link the file with the complete address, e.g.
<img src="http://www.example.com/chatnpl.png"/>
+ 9
@Christopher Charillo
Thanks for pointing that out.
+ 3
Hatsy is right, but you can also add / before > to indicate that the img tag doesn't need </img> to follow.
+ 2
@Hatsy
Np
+ 1
you need to completely specify the web address where the image is so that you can have your image displayed
+ 1
everyone here is correct.
my recommendation is that you upload the image online via sending it to one of your friends on messenger (that's what I generally do), google drive's upload image option, etc. this will allow people to see the image from outside a local viewpoint (local viewpoint being when you open the file)
+ 1
Here are two links I made for you that might get you a good head start.
One of them shows how your code originally looked like (I know kinda redundant).
However, I thought that after you look at the code in the second link you might want to make some changes on the one you made yourself.
Link 1: https://code.sololearn.com/WwAUTU8TiQ9s/#html
Link 2: https://code.sololearn.com/WbVFu458oRvG/#html
0
how can i complete my img link
0
by performing bro!!
0
thanks christopher charillo
0
@Bishal kc
Np