HTML TutorialLesson 28Free preview
HTML File Paths
This lesson is part of HTML · All levels
Summary
The file path specifies the location of the image file, CSS, or other page to which the page is referenced. The relative path points to a file relative to the current page position, whereas the absolute path points to the full location starting from the root server. Understanding the path is essential for all resources to load properly.
Key points
- The path is relative to the current page location
- The absolute path starts from the root server with the front slash
- Relative example: images
- An absolute example: /images/foto.jpg
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.