URL full form
URL is the abbreviation of Uniform Resource Locator. It is the resource address on the internet. The URL (Uniform Resource Locator) is created by Tim Berners-Lee and the Internet Engineering working group in 1994. URL is the character string (address) which is used to access data from the internet. The URL is the type of URI (Uniform Resource Identifier).
A URL contains the following information which is listed below:
- Protocol name
- A colon followed by double forward-slash (://)
- Hostname (domain name) or IP address
- A colon followed by port number (optional – unless specified otherwise, “:80” is the default when using HTTP, and “:443” is the default when using HTTPS)
- Path of the file
Syntax of URL:
Protocol: A protocol is the standard set of rules that are used to allow electronic devices to communicate with each other.
Hostname: It describes the name of the server on the network.
Filename: It describes the pathname to the file on the server.
The URL https://geeksforgeeks.org/php-function contains the information protocol: https, hostname: geeksforgeeks.org and filename: php-function.