+ 1

How can i insert image in html ?

while practicing in sololearn when I insert the image in html tag it will not show the output of the image now I'm very disappointed while posting codes. Is there any way I can do it better?

6th Jun 2017, 5:07 PM
Rocky
Rocky - avatar
9 odpowiedzi
+ 1
Try to check whether image name is right, or that its location is right in the code u are typing. If that fails, do you mind posting the code?
6th Jun 2017, 5:16 PM
Harold Peter Ssebetta
Harold Peter Ssebetta - avatar
+ 3
thank you
8th Jun 2017, 4:48 AM
Rocky
Rocky - avatar
+ 2
thanks I got it this time it might be my phone bug ,cause the other day I tried it same way but the image is displayed for some time then it vanquishes. https://code.sololearn.com/W38kmHtNoQ3Z/?ref=app
6th Jun 2017, 5:45 PM
Rocky
Rocky - avatar
+ 2
Good to know. @Rocky. Keep programming
6th Jun 2017, 5:46 PM
Harold Peter Ssebetta
Harold Peter Ssebetta - avatar
+ 2
is there a way to put that image in whole body ?
6th Jun 2017, 5:46 PM
Rocky
Rocky - avatar
+ 2
yep in the background
8th Jun 2017, 4:14 AM
Rocky
Rocky - avatar
+ 2
try this: .<body style="background-image:img.jpg">
8th Jun 2017, 4:18 AM
Harold Peter Ssebetta
Harold Peter Ssebetta - avatar
+ 1
you mean in the background? ?
6th Jun 2017, 6:00 PM
Harold Peter Ssebetta
Harold Peter Ssebetta - avatar
+ 1
I recommend checking out www.w3schools.com It has user friendly tutorials.
8th Jun 2017, 7:14 AM
Harold Peter Ssebetta
Harold Peter Ssebetta - avatar