+ 1
I am trying to insert a image in html but after the completion of process it is showing nothing why this is so?
6 Respostas
+ 1
It's showing nothing in acode editor 😔
+ 1
Your image and your html file should be in the same folder
0
Can you share your code so that we can find the problem and help you to fix it.
0
Ok
0
<html>
<head>
<title>my blog</title>
</head>
<body>
<img src="tree.jpg" alt=""/>
</body>
</html>
0
SOUMYAKANT PARIDA if you are running this code in Sololearn playground, then you should know Sololearn cannot access files on your storage. You must upload it to some CDN like Dropbox or imgbb.com to use that image/ css/ js files in Sololearn.
Or, you can use offline code editors like Acode Editor.