14 AnswersNew Answer
After Gabrielės ft, you have used wrong sign. Is it so in your code also ?? Or if it is correct and it is still not working then can you post the code here ??
Check whether the location of your image and file is in same folder or not. This can be a reason. For ex, if your html file is in a folder x and image is in folder y, then you have to specify full path but if they are in same file, you don't need to specify full path.
Your code has errors. <center> tag is not supported in html5. And what is <p1>? There is <p> tag not p1. And in img, try doing this : <img src=""/> Put that slash. Once I was working in atom and I forgot that and I faced problems.
Arminas Pocius So, keep both of them in one folder and then image will be loaded.
Arminas Pocius If your image is in a folder in local disc C, do: <img src="C:/folder name/foto.jpg"> Basically, open my this PC (if you are using windows), find your image file. Open the folder in which your image is. Click on the ribbon and copy the location of the image. Paste that location in the value of img tag.
Thanks for everyone, works now!
your image is in same directory of html file?
Thanks for answers, No my html file is in one folder and my img.jpg in other folder. I try to do ewrithing, but i cant in solo learn to.
If my img is on dekstop i do like this: <img src="foto.jpg" > If my foto in folder i do like this: <img src="folder name/foto.jpg" > But dont work
like this ? /image .. image.jpg /html .. index.html if it is ../image/image.jpg or is it like this index.html /image .. image.jpg if this one try image/image.jpg
Try to put the image in same directory of html and open the html
dont work I try - <img src="C:\Users\armin\Desktop\Gabrielės\Gabrielės ft/20171010_103153.jpg">
Try to put the image in same directory of html and open the html I try this too Thanks for help frends My motivation for developing is disapear ;D
<!Doctype html> <html lang="lt"> <head> <title>Valgiaraštis</title> <!---Lietuvių kalba--> <meta charset="utf-8"> </head> <body> <center> <!--hideris--> <h1> Valgiaraštis </h1> </center> <br/>' <p1> labas </p1> <img src="C:\Users\armin\Desktop\Gabrielės\Gabrielės ft/20171010_103153"> </body> </html>