Relative links specify folder, file, and other resources by naming the filesystem path they reside at starting from the current file's location.
A single period (.) references the current directory.
./file.ext
or simply file.ext
./folder
or simply folder
./folder/file.ext
Two periods (..) represents going up one directory level.
../file.ext
../folder
../folder2/file.ext
Absolute links are either a complete (absolute) file path including the root directory or a URL with the protocol and domain name:
drive:\path\to\file.ext
drive:\path\to\other\file.ext
drive:\path\to\folder
C:\windows\notepad.exe
C:\windows\system32\cmd.exe
C:\windows
protocol://domain/
protocol://domain/path
https://www.github.com
https://www.github.com/features
Directory Navigation: • . = Current directory • .. = Parent directory Relative Paths: • Same directory: ./ • Child directory: ./background • Parent directory: ../file.ext • Sibling directory: ../folder/file.ext Absolute Path: • https://www.example.com/about.html