We hear the form 'URL' many time in our day to day lives.
The full form of URL is uniform resource locator.
A URL contains all the information for locating a publish resource. URL basically has three main parts and several parts when learnt in depth. The three main parts are :
- Scheme
- Host
- File path
SCHEME:
There are several protocols like hypertext transfer protocol (http), file transfer protocol (ftp), this forms the first part of the URL.
HOST:
This section again contains of three parts. First part is the user creds like the username and password. Second part is the host address, it can be an IP address of the particular host machine or a domain name registered under its IP. Third and the final part is the port, there are 65535 ports in every machine to help it communicate. some of the port have particular protocols assigned to it.
FILE PATH:
This paths indicates which file in the host machine we want to access.
EXAMPLE:
1.(https)://2.(8.8.8.8:80)/3.(index.html)
Comments
Post a Comment