Relative and Absolute File Paths

Relative paths and absolute paths serve different purposes. An absolute file path is the the full URL to a file on the internet. A relative file path points to a file relative to the current page. Relative file paths are better to use than absolute file paths if possible.

When using “../ ” in a relative file path, the file path points to a file located in the folder one level above the current folder.

For more information on both file paths, visit: https://www.coffeecup.com/help/articles/absolute-vs-relative-pathslinks/

Leave a comment