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
- 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.
- Get the full URL in PHP
- HTML | DOM Input URL form Property
- PHP Full Form
- HTML full form
- XML full form
- JSON full form
- CSS Full Form
- JS Full Form
- SASS full form
- CMS Full Form
- HTTPS full form
- WP Full Form
- ASP Full Form
- AJAX full form
- AWT Full Form
- DTD Full Form
- XSD Full Form
- Design a form component which takes input from its user and displays a form
- How to test a URL for 404 error in PHP?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.