<a href=./next_file.pl>text to click on </a>The text `./' tells us to use the same directory we are in (presumably `~user/cgi-bin' or `/user/public_html/cgi-bin').
<a href=../next_file.html>text to click on </a>The text `../' tells us to use the first backwards directory relative to where we are(presumably `~user/cgi-bin' or `/user/public_html/cgi-bin'), i.e., ~user or /user/public_html/.
<a href=../../../cdavid/public_html/next_file.html>text to click on </a>The text `../../../' tells us to use the backwards directory starting at
/user/public_html/cgi-bin/and going backwards below your own root, and the forward to mine, first to
/cdavid/then to
/cdavid/public_html/and finally to cgi-bin if needed.