HTML and CSS Reference
In-Depth Information
Protocol Server
Directory File
Relative URL
Absolute URL http /
another-doc.html 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:
A relative URL for the file README.txt in the special subdirectory looks
like this:
You'll actually be retrieving:
Search WWH ::

Custom Search