Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Technical terminology - URL Paths types: Absolute, relative, and

I understand that an absolute path is of the type:

http://www.example.com/thisdir/4/5uy3/2/s.js

and also, that relative paths are of the type:

5uy3/2/s.js (in relation to directory "4")

but what is the term for the type of path that is prepended with a slash to reference back to the root? For example, if someone was working on a script in s.js, he/she might use /thisdir/4/5uy3/2/s.js when including that javascript from different directories to avoid having to consciously think about the current working directory when including it. Do you know what this type of path is called?

like image 841
Zack Avatar asked Mar 15 '13 05:03

Zack


1 Answers

From Dreamweaver / About linking and navigation

There are three types of link paths:

  • Absolute paths (such as http://www.adobe.com/support/dreamweaver/contents.html).
  • Document-relative paths (such as dreamweaver/contents.html).
  • Site root–relative paths (such as /support/dreamweaver/contents.html).

The term "application root" would be the same as "site root" except that the site must be an application.

like image 156
Trisped Avatar answered Nov 15 '22 05:11

Trisped