Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Is a Relative Path Name
What Is a Relative Path Name? - XHTML 1.0 Tutorials - Understanding Hyper Links and URLs
✍: 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
2007-05-12, 5339👍, 0💬
Popular Posts:
What is PMP(project management plan)? The project management plan is a document that describes the p...
When should the register modifier be used? Does it really help? The register modifier hints to the c...
What Is URI? URI (Uniform Resource Identifier) is a superset of URL. URI provides a simple and exten...
How To Create an Add-to-Netvibes Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News ...
How Large Can a Single Cookie Be? - PHP Script Tips - Understanding and Managing Cookies How large c...