URL stands for Uniform Resource Locator. A URL is composed of several parts.

- Protocol (
http) — In this case, Hypertext Transfer Protocol (HTTP). There are also other protocols such as HTTPS, FTP, and so on. - Hostname (
www.youtube.com) — Also commonly referred to as the domain or domain name. - Subdomain (
www.) — Awwwsubdomain is the most commonly used type of subdomain, in which www stands for World Wide Web. - Domain (
youtube.com) — An apex domain is usually configured with an A, ALIAS, or ANAME record through your DNS provider. - Top level domain (
.com) — One of the domains at the highest level in the hierarchical Domain Name System of the Internet. - Path (
/watch) — A path usually refers to a file or folder (directory) on the server (for example,/folder/file.html) - Query string (
?v=QhcwLyyEjOA) — The query string is initialized by the?inside the URL and can contain many parameters. Each parameter is separated by an ampersand (&).- Parameter (
v=QhcwLyyEjOA) — Parameters are name/value pairs inside of the query string. A parameter name and parameter value pair always have the same structure:Parametername=Parametervalue. - Parameter name (
v) and value (QhcwLyyEjOA) — In this example, there is only one parameter. The parameter name isvand its value isQhcwLyyEjOA.
- Parameter (