protocol:// machine[: port]/ path/ filename.html
where:
protocol | is the Internet protocol used to transmit the file. Examples of different protocols are shown below |
machine | is the domain name of the server where the file is stored (e.g. www.company.com) |
:port | is only required when a non-standard TCP port number is used |
Protocol | Example |
---|---|
Hypertext Transfer Protocol | http://www.ncsa.uiuc.edu/demoweb/url-primer.html |
gopher | gopher://gopher.tc.umn.edu/ |
File Transfer Protocol | ftp://ftp.cica.indiana.edu/ |
Electronic mail address | mailto:someone@foo.com (not a valid address) |