HTML File Paths 📌
A file path describes the location of a file in a web site's folder structure.
HTML File paths
A file path describs the location of a file in a web site's folder structure.
File paths are used when linking to external file, like:
- Web pages.
- Images
- Style sheets
- JS(JavaScript)
There are two types of HTML File Paths.
- Absolute File Paths
- Relative File Paths
When we are going to use absolute file then we need to give full URL
A relative file path points to a file relative to the current page.
The below is a quick example:
Relative file path Example
Preview

"This picture will be displayed from the html.org.in website server."
Absolute file path Example
Preview
"This picture was displayed directly from the Unsplash server. It will change with a refresh..."