URL Format

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   go to next page        

Answer:

e-mail uses a different protocol than Web pages, as does FTP (file transport protocol) and several other applications.

URL Format

A URL consists of three parts:

  1. Protocol — what method will be used to transfer the data (usually HTTP.)
  2. Host — the unique name of the computer (Host) that holds the resource
  3. Path — a relative path name of the disk file on the host

These parts are put together like this:

Protocol://Host/Path

For example, here is a popular URL:

http://chortle.ccsu.edu/index.html

QUESTION 13:

What is the host name in the above URL?