This content originally appeared on DEV Community and was authored by Rohith ND
Protocol : A URL's protocol also known as transfer protocol or scheme regulates how data is sent between the host and a web browser.
//example
http , https , tcp ,smtp
Subdomain : Subdomains that are a little more subtle, exhibiting a relative dependence and being a component of a higher level domain. eg.
//example
www.example.com , mail.example-smtp.com
Domain name : The Domain Name System uses a domain name as a registered identifying string to create a distinct region of authority and autonomy. eg.
//example
google.com , dev.to
Second-level domain : A second-level domain is a domain that is immediately behind a top-level domain.
//example
www.example.**second-level**.in , www.example.**blogging**.io
Top-Level Domain : A top-level domain is a domain which is at the top of the Domain Name System hierarchy.
//example
.com ,.in ,.net , .io
Path : The path specifies the precise location of a page, post, file, or other item. It is frequently comparable to the website's underlying file structure.
//example
/home , /dashboard , /settings
Query String (Params) : Depending on the implementation, parameters are found at the very end of the URL or within the path. URL parameters are expressed as key/value pairs that begin with a '?' and are separated by an ampersand '&.'
//example
https://www.example.com/settings?username=name , https://www.example.com/settings?email=email@gmail.com&id=09
Fragement identifier : A precise location within an HTML page.
//example
www.example.in#latest
This content originally appeared on DEV Community and was authored by Rohith ND

Rohith ND | Sciencx (2022-04-08T06:25:05+00:00) Structure of URL. Retrieved from https://www.scien.cx/2022/04/08/structure-of-url/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.