What is URL

Table of Contents


A URL, short for Uniform Resource Locator, is a way to specify the address of a resource on the internet. It helps us access web pages by indicating their location. For instance, if you want to visit the javatpoint website, you would go to the URL www.javatpoint.com, which represents the specific address of that website.

 What exactly is a URL?

 Well, it serves as a link that directs users to various online resources like videos, webpages or other similar content. When you search something on Google, it displays multiple URLs related to your query. These URLs are hyperlinks that allow you to access the respective webpages.
A URL comprises several components such as;
  1. The optional port number on the server.
  2. The protocol used for accessing the resource.
  3. The location of the server.
  4. A fragment identifier.
  5. In terms of server directory structure, it specifies the location of the resource.
To further illustrate this concept with an example; let’s consider https;//www.javatpoint.com/jtp.htm; this URL indicates that “jtp.htm” is a file located on the server with an address at javatpoint.com.
When you see a URL starting with “http;//” or “https;//”, it means that you’re using a specific protocol to access information on the web. The “http;//” stands for Hypertext Transfer Protocol, indicating that the browser will use this protocol to fetch the requested data from the specified domain.
On the other hand, “https;//” is an improved version of this protocol, focusing on security measures to protect your data during transmission.

Different Types of URLs

Typically, there are two main types of URLs that are commonly used; absolute and relative.
An absolute URL contains all the necessary information, including the protocol, path to resources and any parameters. On the other hand, a relative URL only includes the path to resources.
Additionally, there are various other types of uniform resource locators based on their functions;
Canonical URLs; These are utilized by website owners when they have duplicate content. By setting one URL as canonical, search engines can identify which internet address to crawl and index.
Callback URLs; These refer to a designated destination where users are directed after completing a process on an external system.
Vanity URLs; Also known as custom short URLs, these are easy to recall web addresses. Typically created by redirecting longer URLs, website owners can use tools like Bitly, Short.io or TinyURL to generate vanity URLs.

How to Open a URL ?

Now let’s explore different ways to open a URL if you already know it or if you don’t;
Typing the complete website URL in the address bar is one of the simplest methods.
Clicking on a hyperlink is another option. It could be in the form of text, an icon or an image that leads to another HTML file on the internet.To determine if a text or graphic is a hyperlink, users can hover their mouse over it. This action will display a URL link at the bottom of the window, providing information about where the link will lead them.
Another method is by scanning a QR code, which is a black and white barcode that can be read by digital devices. QR codes are commonly used for quick response purposes.

How to Create URl

Here is a step by step guide on how to create a unique URL;
  • Find a reputable registrar that can help you register a domain name. Registrars are accredited companies responsible for managing domain reservations and renewals. Popular options include Google Domains, CloudFlare and Domain.com. You can also get a custom name from hosting companies like Hostinger.
  • Buying a domain at Hostinger;
  1. a) Check the availability of your desired name and extension using their checker tool. It will provide you with a list of available names.
  2. b) Proceed to the checkout process where you will choose the registration period. Most registrars require at least one year, but some offer longer periods like ten years.
  3. c) Complete the registration process by providing accurate information in the setup form, such as your name, email, address and contact details.
  4. d) Verify your ownership of the chosen name.
By following these steps, you’ll be able to create your own unique URL with ease!After you finish the registration process, you should receive a verification link in your email within a few minutes. In case you don’t see it, you can request a new one from the control panel. Remember to keep track of your domain expiry dates as registration is not a one time purchase for all owners.

Additional FAQ

1.Where can you find the URL?
The URL can be found in the address bar or search bar at the top of your browser window. On desktop computers and laptops, the URL is always visible unless your browser is in full screen mode. On most smartphones and tablets, scrolling down will hide the URL, but you can bring it back by scrolling up. In such cases, only the domain is shown initially, but you can tap on the address bar to view the full URL.
2.Which characters are not allowed in a URL?
Many people know that spaces are not allowed in URLs. The URL string can only contain symbols like ! $ _+*'() and alphanumeric characters as specified in RFC 1738. If any other special characters need to be included, they must be encoded in the URL.
3.Is an IP address equivalent to a web address or a URL?
No, an IP address is different from a web address or a URL. An IP address is a unique number assigned to each device on a network for identification purposes.
A domain name is given a special IP address on the internet and when someone types in a URL like javatpoint.com, DNS translates it into an IP address that routers use to locate web servers. Instead of using an IP address, humans prefer to use domain names because they are easier to remember.
Avatar Of Soni


RELATED Articles

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.