Relative URLs can be used when linking to pages and files within your own website.
Shorthand way of telling the browser where to find your files.
Inform students that they have already seen this is use with the link tag when referencing a css file
Linking from music index page to the music reviews page
<a href="reviews.html"> Music Reviews </a>
Linking from the homepage (top-level index.html) to the music listings page
<a href="music/listings.html"> Music Listings </a>
Linking from the homepage (top-level index.html) to the dvd reviews page
<a href="movies/dvds/reviews.html"> DVD Reviews </a>
Linking from the music reviews page to the homepage (top-level index.html)
<a href="../index.html"> Home </a>
Use ../
to move up exactly 1 level in the folder hierarchy
Linking from the dvd reviews page to the homepage (top-level index.html)
<a href="../../index.html"> Home </a>
Here we used ../../
to move up 2 levels in the folder hierarchy