Uniform Resource Identifier (URI)

A URI consists of a hierarchical sequence of components referred to as the scheme, authority, path, query, and fragment. For example, in the URI foo://example.com:8042/over/there?name=ferret#nose (which happens to be a URL), the scheme is foo, the authority is example.com:8042, the path is over/there and the query is name=ferret#nose. Below is a graphical illustration of the components of this URI.

        foo://example.com:8042/over/there?name=ferret#nose
         \_/   \______________/\_________/ \_________/ \__/
          |           |            |            |        |
       scheme     authority       path        query   fragment