Cyber Code Academy
Tutorials Academy Courses
Home / html-tutorials-md / HTML File Paths

HTML File Paths

> Use relative, absolute, and root-relative paths for site resources.

**Category:** HTML | **Lesson:** 20 of 40

## Relative paths
“`html
Site logo
About
Home
“`
A relative path is resolved from the current document location.

## Absolute URL
“`html
About Example
“`

## Root-relative path
/images/logo.png begins at the website root. It may need adjustment when a site is hosted inside a subdirectory.

## Project layout
“`text
website/
├── index.html
├── about.html
├── contact.html
├── images/logo.png
└── media/intro.mp4
“`

## Practice
Create three HTML pages and an images folder. Link the pages and use a shared logo.

Want to learn this professionally?

Explore practical IT training at Cyber Code Academy.

View Academy Courses