To link from contents.html to index.html (in the parent folder, one level above contents.html), use the relative path../index.html. Two dots and a slash (../) moves you up one level in the folder hierarchy.