A URI consists of a hierarchical sequence of components referred to as the scheme, authority, path, query, and fragment. Below is a graphical illustration of the components of a URI.
foo://example.com:8042/over/there?name=ferret#nose
\_/ \______________/\_________/ \_________/ \__/
| | | | |
scheme authority path query fragment