relative file path explanation
in the above website, the following example is given to demonstrate relative file path for the image: <img src=”banana.jpg”
and there is no /
in front of banana
because the "image is placed at the same directory where source file is"
in the html tutorial on youtube (1:13:01) that i'm learning from, the images are also placed at the same directory where source file is but a /
is used in front of the image name. why was /
used here?
Does it have to do with "root of the current web" as stated in the w3 html file path tutorial? If yes, what does "root of the current web" mean? i can't find any explanation that relates to html