(1) A relative file path points to a file relative to the current page.
In this example, the file path points to a file in the images folder located at the root of the current web:
Example:
<img src="/images/picture.jpg" alt="Mountain">
(2) An absolute file path is the full URL to an internet file:
Example:
<img src="https://www.w3schools.com/images/picture.jpg" alt="Mountain">
(3) A file URI takes the form of file://host/path.
Examples:
file://localhost/c:/WINDOWS/clock.avi
file:///c:/WINDOWS/clock.avi
|