Tools, FAQ, Tutorials:
Relative Path Name of a URL
What Is a Relative Path Name?
✍: FYIcenter.com
A relative path name is a path name that starts without the leading slash "/".
If a relative path name is used in a URL, the relative path name will be
replaced with the current document path name appended with the specified relative
path name.
If "." or ".." is used in path names, it will be interpreted as "current directory" or "parent directory" respectively. For example, if the following URLs are used in this document you are viewing right now:
./index.html ../index.html ../../index.html ../../faq/css/index.html image/fyi.jpg
your browser will borrow the protocol name, the host name, the port number, and the path name from the URL of this document, and produce the following URLs:
http://dev.fyicenter.com:80/faq/xhtml/index.html http://dev.fyicenter.com:80/faq/index.html http://dev.fyicenter.com:80/index.html http://dev.fyicenter.com:80/faq/css/index.html http://dev.fyicenter.com:80/faq/xhtml/image/fyi.jpg
2017-07-07, ∼2641🔥, 0💬
Popular Posts:
How to install "The Windows SDK version 8.1"? I need to build my Visual Studio C++ applications. If ...
How To Open Standard Output as a File Handle in PHP? If you want to open the standard output as a fi...
How to add request body examples to my Azure API operation to make it more user friendly? If you hav...
How To Change Text Fonts for Some Parts of a Paragraph? If you want to change text fonts or colors f...
How to use "{{...}}" Liquid Codes in "set-body" Policy Statement? The "{{...}}" Liquid Codes in "set...