Explain Different Parts of The URL With Example

In this complete article, we discuss Different Parts of The URL with help of some examples. Before we start, first, we have to know briefly about URLs or What are the URLs? and What is a Website URL?

What is a URL?

URL is the global address of web pages, web documents, or any file on the web or internet. URL stands for Uniform Resource Locator.

All URLs are created by multiple parts, for example protocol, domain name and parameteres.

Example:

https://phpcoder.tech/php-online-editor/

Different Parts of The URL

Different-Parts-of-The-URL
Parts of the URL
  • The protocol
  • The domain name
  • The subdomain
  • Port
  • Path
  • Query
  • Parameters
  • Fragment

The Protocol

https://phpcoder.tech/php-online-editor/

The protocol is the first part of the URL and also called schema. Protocols are used to decide how files are displayed or transferred across the web.

For example HTTP (Hypertext Transfer Protocol) part of the URL represents that the page displayed in HTML format. FTP (File Transfer Protocol) which is used to transfer files local to server.

The Domain Name

The domain names are the actual address of the websites and always unique. Domain name also is the actual name of the websites.

For example domain names are like, “phpcoder.tech”, “google.com” or “google” etc.

The Subdomain

  • https://subdomain.phpcoder.tech

Subdomains are generally used to create new site with a new name of our parent domain. Whatever you can create the name of the subdomain.

The Port

  • https://phpcoder.tech:80

Ports are the reserved channel which are used to access the resources from the server.

Conclusion

Here we learn about the website URL, what is a website URL? and what parts are used to make a URL.

We list out the parts of URL with and image illustrator.

I hope you all are understand completely.

FAQs: Parts of the URL

  • What are the 3 basic parts of the URL?

    The 3 basic parts of URL are,

    1. Protocol (HTTP or HTTPS)
    2. The Domain Name
    3. Port
    Was this article helpful?
    YesNo
  • What are the main components of a URL?

    Main Components of a URL,

    • The protocol
    • The domain name
    • Port
    Was this article helpful?
    YesNo
  • What is called in URL?

    URL stands for Uniform Resource Locator

    Was this article helpful?
    YesNo
  • Also Check:

    Happy Coding..!

    Was this article helpful?
    YesNo
    My name is Bikash Kr. Panda. I own and operate PHPCODER.TECH, my native place in Odisha. I am a Web Programmer by profession and working on more than 50 projects to date. My passion is working on the web-based project using PHP and relate to all CMS and frameworks which is based on PHP.
    Posts created 175

    One thought on “Explain Different Parts of The URL With Example

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Related Posts

    Begin typing your search term above and press enter to search. Press ESC to cancel.

    Back To Top
    mariobet - supertotobet - escort -

    takip7.com

    - milanobet giriş - gizabet giriş -
    perabet giriş
    - betkanyon giriş -

    jojobet giriş

    We are now accepting guest posting and creation of back-links.
    This is default text for notification bar