Answer the question
In order to leave comments, you need to log in
What is the difference in path between ./image and just image?
Example:
<img src="./image.jpg" alt="картинка">
<img src="image.jpg" alt="картинка">
Answer the question
In order to leave comments, you need to log in
. - path from the current file
/ path from the root file
In your case, they are the same, so there is no difference.
! impractical to keep HTML and images in the same directory
! relative paths are written through .. and allow you to refer to an element from another directory
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question