Hello friends,
What are the 5 parts of a URL?
Hi Friends,
A URL consists of five parts:- the scheme, subdomain, top-level domain, second-level domain, and subdirectory
sinelogixtech is right!
Anything else do you want to know about the same?
URL stands for Uniform Resource Locator it's a web address that uses a mechanism of identifying a partner website in the network and retrieve the desired information a typical URL starts with HTTP or HTTPS.
URL may consist of as many as 6 parts. The different parts of the URL are:
1. Scheme or Protocol
2. Host or Domain Name
3. Port
4. Path (/)
5. Query string (?)
6. Fragment id or hash (#)
URL=scheme:[//domain:port]path[?query_string][#fragment_id]
Depends on how deep you want to go
Example URL:
https://www.example.org:80/something/this.html?param1=value1¶m2=value2#here
breaks down into;
Scheme(https:// (also known as "protocol"))
Domain (www.example.org.uk)
Subdomain (www)
DomainName (example.org.uk)
TLD (.uk (top level domain))
SLD (.org (second level domain))
Port (:80)
Path (/something/this.html)
Directory Path (/something/)
File Path (this.html)
File Name (this)
File Extension (.html)
Query (?param1=value1¶m2=value2)
Parameter and Value Pair (param1=value1)
Parameter and Value Pair seperator (&)
Fragment (#here)
A URL consists of five parts -- the scheme, subdomain, top-level domain, second-level domain, and subdirectory.