+ 1

How do we post pics like in html like i mean this: <img src="img.jpg" i dont know how teach me please.

24th Sep 2020, 3:14 PM
Temiloluwa Johnson
Temiloluwa Johnson - avatar
5 Réponses
+ 4
if the img.jpg is in the same directory as index.html, only then it would work, otherwise, if it is in a folder called images, in the src attribute you should have "./images/img.jpg" ./ means current directory, then images/ img.jpg is the path to the image. On sololearn, you can't upload images to use them like "img.jpg", you can only have a url of the image here, so upload that image somewhere, on github, dropbox, or any other service, and use the link of that image instead. If you use dropbox, you would need just a little modification in the url, instead of www. you would use dl.
24th Sep 2020, 3:19 PM
maf
maf - avatar
+ 2
Thanks
24th Sep 2020, 3:39 PM
Temiloluwa Johnson
Temiloluwa Johnson - avatar
+ 1
Help me pls
24th Sep 2020, 3:14 PM
Temiloluwa Johnson
Temiloluwa Johnson - avatar
+ 1
Here in the example is all included what you need: https://code.sololearn.com/WSLZPpBIFgr7/?ref=app
24th Sep 2020, 3:36 PM
JaScript
JaScript - avatar
+ 1
Sm online
24th Sep 2020, 4:01 PM
Temiloluwa Johnson
Temiloluwa Johnson - avatar