[screensht on vs and on browser](https://i.stack.imgur.com/aOLD0.jpg) what is happening ?
i doing it right and then this happend can someone explain and thanks
CodePudding user response:
If your index.html is inside the same directory as your image, you should remove the forward slash / and just have the image as such:
<img src="yourImageFileName.png" alt"your alt">
if the image is inside of a child directory to the parent directory that the index.html is inside of then it would be as such:
<img src="child/yourImageFileName.png" alt"your alt">