How many parts of URL? Write their name with example.
Answers
Answer:
A URL consists of five parts -- the scheme, subdomain, top-level domain, second-level domain, and subdirectory.
URL Structure
Scheme
The scheme tells web servers which protocol to use when it accesses a page on your website.
The scheme tells web servers which protocol to use when it accesses a page on your website.Nowadays, HTTPS, which stands for Hypertest Transfer Protocol Secure, is the most common scheme. It tells your web browser to encrypt any information you enter onto the page, like your passwords or credit card information, so cybercriminals can’t access it. This security protocol protects your website visitors and implementing it will help your site rank better on Google.
Subdomain
Subdomainsubdomain-urlIf your website is like a house, your subdomains are like specific rooms in that house. A subdomain in a URL indicates which particular page of your website the web browser should serve up. For instance, subdomains like “blog” or “offers” will provide your website’s blog page or offers page.
Second-level Domain
Second-level Domainsecond-leveldomain-urlYour second-level domain (SLD) is the name of your website. It helps people know they’re visiting a certain brand’s site. For instance, people who visit “mlb.com” know they’re on Major League Baseball’s website, without needing any more information.
Top-level Domain
Top-level Domaintop-level-domain-urlThe top-level domain (TLD) specifies what type of entity your organization registers as on the internet.
Subdirectory
Subdirectorysubdirectory-urlA subdirectory helps people understand which particular section of a webpage they’re on.