0
images
I am trying to make an image appear in my file but the code <img src=""> won't work
9 Answers
+ 12
1.if you're running the code in sololearn code playground you need to host the image first ,https://imgbb.com then you just need to copy its direct link and paste it in the img src .
2.If you're running the code in phone or PC ,you just need to put the image in the same directory with the code and use the image name in the img src......
+ 9
then you can follow the second method
+ 8
maybe show us your code, so we can help you ....
+ 7
something like in a same folder
+ 5
where did you run the code ,sololearn code playground or in your phone?
0
ok my code is <html>
<head>
<title>first page</title>
</head>
<body>
<img src="tes.jpg"/>
</body>
</html>
0
i was using rapidtables notepad and saving it with a .html extension
0
what is a directory