+ 2
how to add images in sololearn code playground???
2 ответов
+ 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!!
+ 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>