HTML and CSS Reference
In-Depth Information
Protocol Server
Directory File
Relative URL
another-doc.html
Absolute URL http
www.kumquat.com /
another-doc.html
6.2.2.2. Relative document directories
Another common form of a relative URL omits the leading slash and one
or more directory names from the beginning of the document pathname.
The directory of the base URL is automatically assumed to replace these
missing components. It's the most common abbreviation, because most
authors place their collections of documents and subdirectories of sup-
port resources in the same directory path as the home page. For ex-
ample, you might have a special subdirectory containing FTP files refer-
enced in your document. Let's say that the absolute URL for that docu-
ment is:
http://www.kumquat.com/planting/guide.html
A relative URL for the file README.txt in the special subdirectory looks
like this:
ftp:special/README.txt
You'll actually be retrieving:
Search WWH ::




Custom Search