how to add images in sololearn code playground??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

how to add images in sololearn code playground???

10th May 2019, 1:37 PM
Kashyap Kumar
Kashyap Kumar - avatar
2 Answers
+ 24
You need to use some image hosting site. I use imgur. 1. Go to imgur.com 2. Upload your image 3. Copy direct link to your image. 4. Paste this link as 'src' attribute of <img> Thats it!!
10th May 2019, 4:20 PM
Mitali
Mitali - avatar
+ 14
Use this("https://images.pexels.com")site <!DOCTYPE html> <html> <head> <title>image</title> </head> <body> <img src="https://images.pexels.com/photos/885289/pexels-photo-885289.jpeg?cs=srgb&dl=desk-flatlay-keyboard-885289.jpg&fm=jpg" alt="desk-flatlay-keybord" height="350" width="400"> </body> </html>
10th May 2019, 1:58 PM
Mr AJX 😎😈
Mr AJX 😎😈 - avatar