Relative Path Name of a URL
What Is a Relative Path Name?
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, 1097👍, 0💬
How to create Hello-3.0.epub with WinRAR? I have all required files to create Hello-3.0.epub. To cre...
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follo...
How to detect errors occurred in the json_decode() call? You can use the following two functions to ...
What Is the 2017 Version of Azure API Management Service? The 2017 Version of Azure API Management a...
How to use the XML to JSON Conversion Tool at jsonformatter.org? If you want to try the XML to JSON ...