S
S
Space Around2020-05-27 17:24:26
HTML
Space Around, 2020-05-27 17:24:26

Why is the wrong path to the image specified?

The image is in the same directory as index.html, in index.html the path to the image is specified as , why everything works fine in ispmanager on hosting, but if you run it on a local server (xampp), then everything is bad, the image is not displayed. Can this be fixed somehow? <img src="/picture.png" alt="picture">

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eduard07, 2020-05-27
@viksnamax

<img src="./picture.png" alt="picture">
<img src="picture.png" alt="picture">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question