+ 1
How do we post pics like in html like i mean this: <img src="img.jpg" i dont know how teach me please.
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.
+ 2
Thanks
+ 1
Help me pls
+ 1
Here in the example is all included what you need:
https://code.sololearn.com/WSLZPpBIFgr7/?ref=app
+ 1
Sm online