0

images

I am trying to make an image appear in my file but the code <img src=""> won't work

31st Dec 2017, 12:56 AM
death
death - avatar
9 odpowiedzi
+ 12
1.if you're running the code in sololearn code playground you need to host the image first ,https://imgbb.com then you just need to copy its direct link and paste it in the img src . 2.If you're running the code in phone or PC ,you just need to put the image in the same directory with the code and use the image name in the img src......
31st Dec 2017, 1:54 AM
Leon lit
Leon lit - avatar
+ 9
then you can follow the second method
31st Dec 2017, 2:23 AM
Leon lit
Leon lit - avatar
+ 8
maybe show us your code, so we can help you ....
31st Dec 2017, 1:06 AM
Leon lit
Leon lit - avatar
+ 7
something like in a same folder
31st Dec 2017, 3:45 AM
Leon lit
Leon lit - avatar
+ 5
where did you run the code ,sololearn code playground or in your phone?
31st Dec 2017, 1:32 AM
Leon lit
Leon lit - avatar
0
ok my code is <html> <head> <title>first page</title> </head> <body> <img src="tes.jpg"/> </body> </html>
31st Dec 2017, 1:28 AM
death
death - avatar
0
i was using rapidtables notepad and saving it with a .html extension
31st Dec 2017, 2:18 AM
death
death - avatar
0
what is a directory
31st Dec 2017, 3:44 AM
death
death - avatar