The Wayback Machine - https://web.archive.org/web/20100817094712/https://pangea.stanford.edu/computerinfo/hosting/urlsyntax/index.html
Stanford University School of Earth Science
 
Image
Home
Image
News
Image
New Users
Image
Policies
Image
Network File Server
Image
Web Server
   Personal Setup
   Limiting Access
   Email Form
   Other Resources
Image
Get Help
Image
Net Connections
Image
Your Macintosh
Image
Your Windows PC
Image
Your Unix/Linux System
Image
Other School Resources
Image
Using Unix
Image

Uniform Resource Locator (URL) syntax

Last revision July 20, 2004

Table of Contents:

  1. General style considerations for web pages
  2. Options for creating pages in HTML
  3. Graphics considerations
  4. Controlling access to web directories on pangea
  5. Using include files and templates on pangea
  6. Uniform Resource Locator (URL) syntax
 

The concept of the Uniform Resource Locator (URL) is to provide information on both the type of network service being accessed and the location, all in a single consistent syntax. Think of a URL as the network extension of a file pathname specification. In addition to specifying a file, it can tell where the file may be found on the network and what method may be used to access it. In fact, it can refer to more than just files. A URL may describe an email address, a network news group, or even an interactive program.

A URL has up to four parts, the resource or service type identifier, the service hostname (computer system name), the pathname of file to be fetched or program to run, and for html files, optional anchor name within file where display should start

The syntax for putting these parts together into a URL is:

resource_type://hostname.domain:port/filepathname#anchor

Note that each resource or service type interprets the hostname and filepathname section in its own way.

 

Image
Comments?

Stanford University    |